forked from k-space/kube
fix zrepl playbook
This commit is contained in:
parent
28ed62c40e
commit
c222f22768
@ -21,13 +21,13 @@
|
||||
register: zreplconf
|
||||
- name: 'zrepl: restart service after config change'
|
||||
when: zreplconf.changed
|
||||
systemd_service:
|
||||
service:
|
||||
state: restarted
|
||||
enabled: true
|
||||
name: zrepl
|
||||
- name: 'zrepl: ensure service'
|
||||
when: not zreplconf.changed
|
||||
systemd_service:
|
||||
service:
|
||||
state: started
|
||||
enabled: true
|
||||
name: zrepl
|
||||
|
Loading…
Reference in New Issue
Block a user