Forcing stop and start to clear routes (#46)

unmanaged-hosts
Cristian Chiru 5 years ago committed by GitHub
parent 43ad9a1cfe
commit 6348c48193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,7 +2,10 @@
- name: restart wireguard - name: restart wireguard
service: service:
name: "wg-quick@{{ wireguard_interface }}" name: "wg-quick@{{ wireguard_interface }}"
state: restarted state: "{{ item }}"
loop:
- stopped
- started
when: not wg_syncconf when: not wg_syncconf
listen: "reconfigure wireguard" listen: "reconfigure wireguard"

Loading…
Cancel
Save