aboutsummaryrefslogtreecommitdiffstats
path: root/roles/wireguard/tasks
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2022-01-11 00:49:33 +0000
committerGravatar Joe Banks <[email protected]>2022-01-11 13:29:08 +0000
commit338415762bb2117aea1e9ffb023ee982361009d4 (patch)
treebbdfb3f64d7bac8e55627dfd28e79e84fee8790d /roles/wireguard/tasks
parentAssign WireGuard subnets to each host (diff)
Add handler for reloading WireGuard when config is modified
Diffstat (limited to 'roles/wireguard/tasks')
-rw-r--r--roles/wireguard/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/wireguard/tasks/main.yml b/roles/wireguard/tasks/main.yml
index 66d35a4..f8495cd 100644
--- a/roles/wireguard/tasks/main.yml
+++ b/roles/wireguard/tasks/main.yml
@@ -46,6 +46,8 @@
mode: '0600'
group: root
owner: root
+ notify:
+ - reload wg-quick
- name: Start and enable the WireGuard service
service: