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