aboutsummaryrefslogtreecommitdiffstats
path: root/roles/ssh_dns/templates
diff options
context:
space:
mode:
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.