Restart WireGuard on configuration update
This commit is contained in:
@@ -4,3 +4,9 @@
|
||||
connect_timeout: 5
|
||||
listen: reboot_host
|
||||
when: allow_reboot
|
||||
|
||||
- name: Restart WireGuard
|
||||
service:
|
||||
name: wg-quick@wg0
|
||||
state: restarted
|
||||
listen: restart_wireguard
|
||||
|
Reference in New Issue
Block a user