Trying to adjust nc for rhel7

This commit is contained in:
Kevin Fenzi 2015-09-26 00:41:41 +00:00
parent 7dd8c4ec4f
commit db4bc1b01e

View file

@ -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