From 63a26b74d0891a76dfe4c456b60eb990541ad7cf Mon Sep 17 00:00:00 2001 From: Jeltz Date: Sat, 20 Feb 2021 23:40:19 +0100 Subject: [PATCH] Notify ifreload handler on wg config change --- roles/wireguard-endpoint/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/wireguard-endpoint/tasks/main.yml b/roles/wireguard-endpoint/tasks/main.yml index 1ff397f..d677f59 100644 --- a/roles/wireguard-endpoint/tasks/main.yml +++ b/roles/wireguard-endpoint/tasks/main.yml @@ -27,6 +27,8 @@ # try to hide clear-text private keys from Ansible output no_log: True diff: no + notify: + - Reload network interfaces - name: Create network interfaces template: