summaryrefslogtreecommitdiff
path: root/j2
diff options
context:
space:
mode:
Diffstat (limited to 'j2')
-rw-r--r--j2/wireguard/ansible-host.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/j2/wireguard/ansible-host.j2 b/j2/wireguard/ansible-host.j2
index 72273ef..9d684ef 100644
--- a/j2/wireguard/ansible-host.j2
+++ b/j2/wireguard/ansible-host.j2
@@ -1,6 +1,6 @@
# Generated
-link_address: {{ link }}
-network_cidr: {{ network }}
+link_address: {{ host.ip }}
+network_cidr: {{ host.networkCidr }}
wireguard_peers:
{{ host.name }}:
{%- for peer in peers %}