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,2 +1,6 @@
- name: restart wireguard
service: name=wg-quick@wg0.service state=restarted enabled=yes
- name: "restart wireguard"
systemd:
name: wg-quick@wg0.service
state: restarted
enabled: yes
daemon_reload: yes