Added daemon_reload: yes for multiple handlers

This commit is contained in:
2020-12-29 11:40:13 +01:00
parent 3dff22a16a
commit ee34a74bea
4 changed files with 42 additions and 14 deletions

View File

@@ -1,4 +1,12 @@
- name: restart pull-remote-backups service
service: name=pull-remote-backups.service state=restarted enabled=yes
- name: restart pull-remote-backups timer
service: name=pull-remote-backups.timer state=restarted enabled=yes
- name: "restart pull-remote-backups service"
systemd:
name: pull-remote-backups.service
state: restarted
enabled: yes
daemon_reload: yes
- name: "restart pull-remote-backups timer"
systemd:
name: pull-remote-backups.timer
state: restarted
enabled: yes
daemon_reload: yes