mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented -e "activate_all_timers=true"
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
- name: create backups-cleanup.timer
|
||||
- name: create cleanup-backups.timer
|
||||
template:
|
||||
src: "backups-cleanup.timer.j2"
|
||||
dest: "/etc/systemd/system/backups-cleanup.timer"
|
||||
notify: restart backups-cleanup.timer
|
||||
src: "cleanup-backups.timer.j2"
|
||||
dest: "/etc/systemd/system/cleanup-backups.timer"
|
||||
register: cleanup_backups_timer
|
||||
changed_when: cleanup_backups_timer.changed or activate_all_timers | default(false) | bool
|
||||
notify: restart cleanup-backups.timer
|
||||
|
Reference in New Issue
Block a user