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