diff options
author | binary <me@rgoncalves.se> | 2021-02-02 11:42:47 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-02-02 11:42:47 +0100 |
commit | a61cf16328bb9ba4b4a9989f74fcfb538ab6fa37 (patch) | |
tree | cc9510314596766aa2fde07a9dec5b9924bb7a98 /roles/sshdns | |
parent | 4a33686063aa236bc2217cce4c55e2ae463a7408 (diff) | |
download | infrastructure-a61cf16328bb9ba4b4a9989f74fcfb538ab6fa37.tar.gz |
-W is not supported on non gnu-coreutils systems
Diffstat (limited to 'roles/sshdns')
-rw-r--r-- | roles/sshdns/templates/generate_dns.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
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 }} |