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 docker-volume-backup service
service: name=docker-volume-backup.service state=restarted enabled=yes
- name: restart docker-volume-backup timer
service: name=docker-volume-backup.timer state=restarted enabled=yes
- name: "restart docker-volume-backup service"
systemd:
name: docker-volume-backup.service
state: restarted
enabled: yes
daemon_reload: yes
- name: "restart docker-volume-backup timer"
systemd:
name: docker-volume-backup.timer
state: restarted
enabled: yes
daemon_reload: yes