forked from k-space/kube
fix zrepl playbook
This commit is contained in:
parent
28ed62c40e
commit
c222f22768
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user