mirror of
https://gitea.0xace.cc/ansible-galaxy/wal-g.git
synced 2024-11-28 17:26:39 +00:00
51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
- name: Daemon reload backup service
|
|
systemd:
|
|
name: backup.service
|
|
enabled: no
|
|
masked : no
|
|
daemon_reload: yes
|
|
when: backup_service.changed
|
|
|
|
- name: Restart backup timer
|
|
systemd:
|
|
name: backup.timer
|
|
enabled: yes
|
|
masked : no
|
|
state: started
|
|
daemon_reload: yes
|
|
when: backup_timer.changed
|
|
|
|
- name: Daemon reload backup retention service
|
|
systemd:
|
|
name: backup-retention.service
|
|
enabled: no
|
|
masked : no
|
|
daemon_reload: yes
|
|
when: backup_retention_service.changed
|
|
|
|
- name: Restart backup retention timer
|
|
systemd:
|
|
name: backup-retention.timer
|
|
enabled: yes
|
|
masked : no
|
|
state: started
|
|
daemon_reload: yes
|
|
when: backup_retention_timer.changed
|
|
|
|
- name: Daemon reload backup permanent service
|
|
systemd:
|
|
name: backup-permanent.service
|
|
enabled: no
|
|
masked : no
|
|
daemon_reload: yes
|
|
when: backup_permanent_service.changed
|
|
|
|
- name: Restart backup permanent timer
|
|
systemd:
|
|
name: backup-permanent.timer
|
|
enabled: yes
|
|
masked : no
|
|
state: started
|
|
daemon_reload: yes
|
|
when: backup_permanent_timer.changed
|