ssh check fails, why?
This commit is contained in:
parent
3bfb09aae6
commit
d4ca93d4a5
1 changed files with 6 additions and 0 deletions
|
@ -45,3 +45,9 @@
|
|||
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
|
||||
register: ssh_check
|
||||
ignore_errors: True
|
||||
|
||||
- debug: msg="{{ ssh_check.stdout}} \n {{ssh_check.stderr }}"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue