summaryrefslogtreecommitdiff
path: root/roles/tinc/handlers
diff options
context:
space:
mode:
authoruvok cheetah2024-03-24 19:13:09 +0100
committeruvok cheetah2024-03-24 19:13:09 +0100
commit46cafb2f9ae259906affb14767d2f853dadd22be (patch)
treeb16a0b027683ebeaf56b3ead89812f47cd06539d /roles/tinc/handlers
parent52363df735a0d8cd547d396695f75924496cf909 (diff)
Fixup tinc role
- add handler to restart - add variables - add IP addresses
Diffstat (limited to 'roles/tinc/handlers')
-rw-r--r--roles/tinc/handlers/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/tinc/handlers/main.yml b/roles/tinc/handlers/main.yml
new file mode 100644
index 0000000..fadb8d5
--- /dev/null
+++ b/roles/tinc/handlers/main.yml
@@ -0,0 +1,7 @@
+---
+# handlers file for uvok_tinc
+- name: Apply Tinc config
+ listen: configure tinc
+ service:
+ name: "tinc@{{ tinc_netname }}"
+ state: restarted