summaryrefslogtreecommitdiff
path: root/module/ri-wireguard/src/main/resources/templates/wireguard/ansible-host.j2
diff options
context:
space:
mode:
Diffstat (limited to 'module/ri-wireguard/src/main/resources/templates/wireguard/ansible-host.j2')
-rw-r--r--module/ri-wireguard/src/main/resources/templates/wireguard/ansible-host.j23
1 files changed, 1 insertions, 2 deletions
diff --git a/module/ri-wireguard/src/main/resources/templates/wireguard/ansible-host.j2 b/module/ri-wireguard/src/main/resources/templates/wireguard/ansible-host.j2
index a3c8c40..cbf707e 100644
--- a/module/ri-wireguard/src/main/resources/templates/wireguard/ansible-host.j2
+++ b/module/ri-wireguard/src/main/resources/templates/wireguard/ansible-host.j2
@@ -2,7 +2,6 @@
link_address: {{ host.ip }}
network_cidr: {{ host.networkCidr }}
wireguard_peers:
- {{ host.machine.name }}:
{%- for peer in peers %}
- - {{ peer.fqdn }}
+ - {{ peer.fqdn }}
{%- endfor %}