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