aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/wireguard/handlers
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2024-03-23 19:25:36 +0100
committerEgor Tensin <egor@tensin.name>2024-03-23 19:25:36 +0100
commit87b049ac83717001e7600a4b32e086e3b6ea6380 (patch)
tree7c0d8f4ffda3e86762a21775055c509d3a2ec371 /roles/wireguard/handlers
parentv3.0.0 (diff)
downloadinfra-ansible-87b049ac83717001e7600a4b32e086e3b6ea6380.tar.gz
infra-ansible-87b049ac83717001e7600a4b32e086e3b6ea6380.zip
wireguard: add dependency on wg-quick service also
Diffstat (limited to 'roles/wireguard/handlers')
-rw-r--r--roles/wireguard/handlers/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/wireguard/handlers/main.yml b/roles/wireguard/handlers/main.yml
new file mode 100644
index 0000000..390e740
--- /dev/null
+++ b/roles/wireguard/handlers/main.yml
@@ -0,0 +1,5 @@
+- name: Reload systemd daemon
+ become: true
+ ansible.builtin.systemd_service:
+ daemon_reload: true
+ listen: wireguard_reload