3
0
Fork 0

Forcing stop and start to clear routes

This commit is contained in:
Cristian Chiru 2020-03-24 19:45:54 +02:00
parent 43ad9a1cfe
commit 1acfabf6ca
1 changed files with 4 additions and 1 deletions

View File

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