From db4bc1b01e69f5b4b170bf9a30d01c335054c54a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sat, 26 Sep 2015 00:41:41 +0000 Subject: [PATCH] Trying to adjust nc for rhel7 --- tasks/persistent_cloud_new.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/persistent_cloud_new.yml b/tasks/persistent_cloud_new.yml index 5969083ffb..f6ca70f72b 100644 --- a/tasks/persistent_cloud_new.yml +++ b/tasks/persistent_cloud_new.yml @@ -1,7 +1,7 @@ # New tasks to spin up instance in https://fedorainfracloud.org - name: check it out - local_action: shell nc -d -z -w 5 {{ inventory_hostname }} 22 >>/dev/null + local_action: shell nc -w 5 {{ inventory_hostname }} 22 < /dev/null register: host_is_up ignore_errors: true