Created
October 30, 2013 08:45
-
-
Save sheldonh/7229174 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TASK: [debug msg="shell ssh root@{% if ansible_ssh_host is defined %}{{ansible_ssh_host}}{% else %}{{inventory_hostname}}{% endif %} whoami"] *** | |
| <192.168.1.54> ESTABLISH CONNECTION FOR USER: fedora | |
| ok: [192.168.1.54] => {"msg": "shell ssh fedora@192.168.1.54 whoami"} | |
| TASK: [Debuggery] ************************************************************* | |
| <127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p /tmp/ansible-1383122690.76-147711850800446 && chmod a+rx /tmp/ansible-1383122690.76-147711850800446 && echo /tmp/ansible-1383122690.76-147711850800446'] | |
| <127.0.0.1> REMOTE_MODULE command ssh fedora@192.168.1.54 whoami #USE_SHELL | |
| <127.0.0.1> PUT /tmp/tmpWTEnNX TO /tmp/ansible-1383122690.76-147711850800446/command | |
| <127.0.0.1> EXEC ['/bin/sh', '-c', 'chmod a+r /tmp/ansible-1383122690.76-147711850800446/command'] | |
| <127.0.0.1> EXEC /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=buekuitwvxmniwezfrqcczcmzwwrbjkm] password: " -u rack /bin/sh -c '"'"'/usr/bin/python /tmp/ansible-1383122690.76-147711850800446/command'"'"'' | |
| <127.0.0.1> EXEC ['/bin/sh', '-c', 'rm -rf /tmp/ansible-1383122690.76-147711850800446/ >/dev/null 2>&1'] | |
| failed: [192.168.1.54] => {"failed": true, "parsed": false} | |
| invalid output was: [sudo via ansible, key=buekuitwvxmniwezfrqcczcmzwwrbjkm] password: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment