From 11f9b244db17d676181cf9394e9e281477cc224b Mon Sep 17 00:00:00 2001 From: binary Date: Fri, 20 Nov 2020 19:23:02 +0100 Subject: Update to new global dict declaration. --- roles/ssh_dns/templates/generate_dns.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/ssh_dns/templates/generate_dns.j2') 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 }} -- cgit v1.2.3