From a61cf16328bb9ba4b4a9989f74fcfb538ab6fa37 Mon Sep 17 00:00:00 2001 From: binary Date: Tue, 2 Feb 2021 11:42:47 +0100 Subject: -W is not supported on non gnu-coreutils systems --- roles/sshdns/templates/generate_dns.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/sshdns') diff --git a/roles/sshdns/templates/generate_dns.j2 b/roles/sshdns/templates/generate_dns.j2 index a509677..a521104 100644 --- a/roles/sshdns/templates/generate_dns.j2 +++ b/roles/sshdns/templates/generate_dns.j2 @@ -11,7 +11,7 @@ {##} # {{ h.ansible_host }} -Match originalhost {{ h.ansible_host }} exec "ping -c 1 -W 5 {{ dcontroller.ip.in }} && ! ping -c 1 -W 5 {{ h.ip.out }}" +Match originalhost {{ h.ansible_host }} exec "ping -c 1 -W 5 {{ dcontroller.ip.in }} && ! ping -c 1 -w 5 {{ h.ip.out }}" HostName {{ h.ip.in }} Port {{ _port }} -- cgit v1.2.3