Added daemon_reload: yes for multiple handlers

This commit is contained in:
Kevin Veen-Birkenbach 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 certbot service - name: "restart certbot service"
service: name=certbot.service state=restarted enabled=yes systemd:
- name: restart certbot timer name: certbot.service
service: name=certbot.timer state=restarted enabled=yes state: restarted
enabled: yes
daemon_reload: yes
- name: "restart certbot timer"
systemd:
name: certbot.timer
state: restarted
enabled: yes
daemon_reload: yes

View File

@ -1,4 +1,12 @@
- name: restart docker-volume-backup service - name: "restart docker-volume-backup service"
service: name=docker-volume-backup.service state=restarted enabled=yes systemd:
- name: restart docker-volume-backup timer name: docker-volume-backup.service
service: name=docker-volume-backup.timer state=restarted enabled=yes 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

View File

@ -1,4 +1,12 @@
- name: restart pull-remote-backups service - name: "restart pull-remote-backups service"
service: name=pull-remote-backups.service state=restarted enabled=yes systemd:
- name: restart pull-remote-backups timer name: pull-remote-backups.service
service: name=pull-remote-backups.timer state=restarted enabled=yes 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

View File

@ -1,2 +1,6 @@
- name: restart wireguard - name: "restart wireguard"
service: name=wg-quick@wg0.service state=restarted enabled=yes systemd:
name: wg-quick@wg0.service
state: restarted
enabled: yes
daemon_reload: yes