summaryrefslogtreecommitdiff
path: root/modules/ri-wireguard/src/main/resources/templates/wireguard/ansible.j2
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ri-wireguard/src/main/resources/templates/wireguard/ansible.j2')
-rw-r--r--modules/ri-wireguard/src/main/resources/templates/wireguard/ansible.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/ri-wireguard/src/main/resources/templates/wireguard/ansible.j2 b/modules/ri-wireguard/src/main/resources/templates/wireguard/ansible.j2
new file mode 100644
index 0000000..ad4d034
--- /dev/null
+++ b/modules/ri-wireguard/src/main/resources/templates/wireguard/ansible.j2
@@ -0,0 +1,7 @@
+- hosts: wireguard_{{ net.name }}
+ vars:
+ wireguard_if: {{ net.name }}
+ tasks:
+ - name: wireguard
+ import_role:
+ name: wireguard