aboutsummaryrefslogtreecommitdiffstats
path: root/roles/ssh_dns/templates
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-20 19:23:02 +0100
committerbinary <me@rgoncalves.se>2020-11-20 19:23:02 +0100
commit11f9b244db17d676181cf9394e9e281477cc224b (patch)
tree24848f24128c9b828162aaa1cb52a8b96e168ba7 /roles/ssh_dns/templates
parent87b47b86c428705e7a67bdb97ea2ee75e5e12782 (diff)
downloadinfrastructure-11f9b244db17d676181cf9394e9e281477cc224b.tar.gz
Update to new global dict declaration.
Diffstat (limited to 'roles/ssh_dns/templates')
-rw-r--r--roles/ssh_dns/templates/generate_dns.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/ssh_dns/templates/generate_dns.j2 b/roles/ssh_dns/templates/generate_dns.j2
index 5d58ae9..7b41eb3 100644
--- a/roles/ssh_dns/templates/generate_dns.j2
+++ b/roles/ssh_dns/templates/generate_dns.j2
@@ -10,7 +10,7 @@
{##}
# {{ h.ansible_host }}
-Match originalhost {{ h.ansible_host }} exec "ls /sys/class/net/{{ _i.dcontroller }} && ! ping -c 1 -W 5 {{ h.ip.out }}"
+Match originalhost {{ h.ansible_host }} exec "ls /sys/class/net/{{ global.dcontroller }} && ! ping -c 1 -W 5 {{ h.ip.out }}"
HostName {{ h.ip.in }}
Port {{ _port }}
remember that computers suck.