debugging ...
This commit is contained in:
parent
4b9c39c98a
commit
470d0fa03b
1 changed files with 8 additions and 0 deletions
|
@ -44,15 +44,23 @@
|
|||
- name: debug ansible local action
|
||||
local_action: shell echo $SSH_AUTH_SOCK
|
||||
ignore_errors: True
|
||||
register: fooa
|
||||
|
||||
- debug: msg="{{ fooa.stdout }}"
|
||||
|
||||
- name: debug ansible local action 2
|
||||
local_action: shell env
|
||||
ignore_errors: True
|
||||
register: foob
|
||||
|
||||
- debug: msg="{{ foob.stdout }}"
|
||||
|
||||
- name: debug ansible local action 3
|
||||
local_action: command env
|
||||
ignore_errors: True
|
||||
register: fooc
|
||||
|
||||
- debug: msg="{{ fooc.stdout }}"
|
||||
|
||||
- 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue