Trying to adjust nc for rhel7
This commit is contained in:
parent
7dd8c4ec4f
commit
db4bc1b01e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue