From 027606884d613f0daf0bd0e876bfba22a4954fa3 Mon Sep 17 00:00:00 2001
From: binary <me@rgoncalves.se>
Date: Tue, 2 Feb 2021 11:45:23 +0100
Subject: Fix missing -W to -w

---
 roles/sshdns/templates/generate_dns.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'roles/sshdns/templates')

diff --git a/roles/sshdns/templates/generate_dns.j2 b/roles/sshdns/templates/generate_dns.j2
index a521104..866e9aa 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