Reload wireguard rather than restarting

Hopefully this stops it dropping connections
This commit is contained in:
Jake Howard 2020-02-07 21:09:41 +00:00
parent 5027e77534
commit 253453ba16
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -42,7 +42,7 @@
- name: Enable wireguard
service:
name: wg-quick@wg0
state: restarted
state: reloaded
enabled: true
when: wireguard_conf.changed
become: true