1
0
Fork 0

Forcing stop and start to clear routes (#46)

This commit is contained in:
Cristian Chiru 2020-04-03 21:59:32 +03:00 committed by GitHub
parent 43ad9a1cfe
commit 6348c48193
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"