diff --git a/tasks/configure.yml b/tasks/configure.yml index 38f467c..3f957a4 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -39,6 +39,8 @@ port: "{{ vpnes_port }}" comment: 'Wireguard client listener' proto: udp + notify: + - Restart Wireguard service - name: Show public key reminder debug: @@ -90,6 +92,8 @@ rule: allow from: "{{ pub_ip.json.ip }}" delegate_to: "{{ groups['wireguard_server'][0] }}" + notify: + - Restart Wireguard service - name: Ping VPN server for monitoring shell: "ping -c 3 -4 {{ server_address }}"