mirror of
https://gitea.0xace.cc/ansible-galaxy/wal-g.git
synced 2024-11-25 16:06:39 +00:00
16 lines
442 B
YAML
16 lines
442 B
YAML
- name: Template systemd backup retention timer
|
|
template:
|
|
src: backup-retention.timer.j2
|
|
dest: /etc/systemd/system/backup-retention.timer
|
|
notify: Restart backup retention timer
|
|
register: backup_retention_timer
|
|
|
|
- name: Enable and start systemd backup retention timer
|
|
systemd:
|
|
name: backup-retention.timer
|
|
enabled: yes
|
|
masked: no
|
|
state: started
|
|
daemon_reload: yes
|
|
when: not backup_retention_timer.changed
|