1
0
forked from k-space/kube

fix zrepl playbook

This commit is contained in:
Erki Aas 2024-07-27 23:54:29 +03:00
parent 28ed62c40e
commit c222f22768

View File

@ -21,13 +21,13 @@
register: zreplconf register: zreplconf
- name: 'zrepl: restart service after config change' - name: 'zrepl: restart service after config change'
when: zreplconf.changed when: zreplconf.changed
systemd_service: service:
state: restarted state: restarted
enabled: true enabled: true
name: zrepl name: zrepl
- name: 'zrepl: ensure service' - name: 'zrepl: ensure service'
when: not zreplconf.changed when: not zreplconf.changed
systemd_service: service:
state: started state: started
enabled: true enabled: true
name: zrepl name: zrepl