summaryrefslogtreecommitdiffstats
path: root/roles/wireguard/handlers/main.yml
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2019-02-19 05:45:25 +0100
committerTharre <tharre3@gmail.com>2019-02-19 05:45:30 +0100
commitb6d02e11cc8ac63ce717f1a9be092f1f541745b6 (patch)
treee999059e1eefd7d05c7040a8581187cad8be5dd6 /roles/wireguard/handlers/main.yml
parentcbd109adc0822485431fa64e4d552facf05ad02b (diff)
downloadinfrastructure-b6d02e11cc8ac63ce717f1a9be092f1f541745b6.tar.gz
infrastructure-b6d02e11cc8ac63ce717f1a9be092f1f541745b6.tar.xz
infrastructure-b6d02e11cc8ac63ce717f1a9be092f1f541745b6.zip
Add WireGuard role
Diffstat (limited to 'roles/wireguard/handlers/main.yml')
-rw-r--r--roles/wireguard/handlers/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/wireguard/handlers/main.yml b/roles/wireguard/handlers/main.yml
new file mode 100644
index 0000000..6bca6b9
--- /dev/null
+++ b/roles/wireguard/handlers/main.yml
@@ -0,0 +1,6 @@
+---
+
+- name: restart wireguard
+ service: name=wg-quick@{{ item.item.name }}.service state=restarted
+ with_items: "{{ wireguard_changed.results }}"
+ no_log: true