aboutsummaryrefslogtreecommitdiffstats
path: root/roles/wireguard/templates/host.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/wireguard/templates/host.conf.j2')
-rw-r--r--roles/wireguard/templates/host.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/wireguard/templates/host.conf.j2 b/roles/wireguard/templates/host.conf.j2
index 2a5acc5..4c693eb 100644
--- a/roles/wireguard/templates/host.conf.j2
+++ b/roles/wireguard/templates/host.conf.j2
@@ -10,6 +10,6 @@ PrivateKey = {{ host_keys[0] }}
[Peer]
PublicKey = {{ dcontroller_keys[1] }}
-Endpoint = {{ hostvars[_i.dcontroller].ip.out }}:53
+Endpoint = {{ hostvars[global.dcontroller].ip.out }}:53
AllowedIPs = 0.0.0.0/0, ::/0
PersistentKeepalive = 25
remember that computers suck.