ssh check fails, why?
This commit is contained in:
parent
c9331ecf07
commit
3bfb09aae6
1 changed files with 2 additions and 2 deletions
|
@ -42,6 +42,6 @@
|
|||
# We need to specify user, here we trying with fedora or root
|
||||
- name: wait until ssh is available
|
||||
# local_action: shell false; until [ "$?" -eq "0" ]; do sleep 2; ssh -o PasswordAuthentication=no fedora@{{ public_ip }} 'echo foobar' || ssh -o PasswordAuthentication=no root@{{ public_ip }} 'echo foobar'; done
|
||||
local_action: shell false; until [ "$?" -eq "0" ]; do sleep 2; ssh -o PasswordAuthentication=no fedora@{{ public_ip }} 'echo foobar' ; done
|
||||
async: 600
|
||||
local_action: shell false; until [ "$?" -eq "0" ]; do sleep 2; ssh -vvvv -o PasswordAuthentication=no fedora@{{ public_ip }} 'echo foobar' ; done
|
||||
async: 10
|
||||
poll: 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue