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 - name: Enable wireguard
service: service:
name: wg-quick@wg0 name: wg-quick@wg0
state: restarted state: reloaded
enabled: true enabled: true
when: wireguard_conf.changed when: wireguard_conf.changed
become: true become: true