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
- 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