I changed my hosts file to only have the working host and this is the output with -vvvv option:
$ ansible-playbook -i inventory/staging -vvvv site.yml
/home/jm6239/python26/lib/python2.6/site-packages/cryptography/init.py:26: DeprecationWarning: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of cryptography will drop support for Python 2.6
DeprecationWarning
No config file found; using defaults
Loading callback plugin default of type stdout, v2.0 from /home/jm6239/python26/lib/python2.6/site-packages/ansible/plugins/callback/init.pyc
PLAYBOOK: site.yml *************************************************************
1 plays in site.yml
PLAY [all] *********************************************************************
TASK [create bin directory] ****************************************************
task path: /home/jm6239/apb/site.yml:7
Using module file /home/jm6239/python26/lib/python2.6/site-packages/ansible/modules/core/files/file.py
<zlt14143.vci.att.com> ESTABLISH SSH CONNECTION FOR USER: None
<zlt14143.vci.att.com> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/jm6239/.ansible/cp/ansible-ssh-%h-%p-%r zlt14143.vci.att.com ‘/bin/sh -c ‘"’"’( umask 77 && mkdir -p “echo /tmp/ansible-tmp-1490304963.93-167360694044386
” && echo ansible-tmp-1490304963.93-167360694044386=“echo /tmp/ansible-tmp-1490304963.93-167360694044386
” ) && sleep 0’“'”‘’
<zlt14143.vci.att.com> PUT /tmp/tmpSAzmvD TO /tmp/ansible-tmp-1490304963.93-167360694044386/file.py
<zlt14143.vci.att.com> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/jm6239/.ansible/cp/ansible-ssh-%h-%p-%r ‘[zlt14143.vci.att.com]’
<zlt14143.vci.att.com> ESTABLISH SSH CONNECTION FOR USER: None
<zlt14143.vci.att.com> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/jm6239/.ansible/cp/ansible-ssh-%h-%p-%r zlt14143.vci.att.com ‘/bin/sh -c ‘"’“‘setfacl -m u:websphe:r-x /tmp/ansible-tmp-1490304963.93-167360694044386/ /tmp/ansible-tmp-1490304963.93-167360694044386/file.py && sleep 0’”’“‘’
<zlt14143.vci.att.com> ESTABLISH SSH CONNECTION FOR USER: None
<zlt14143.vci.att.com> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/jm6239/.ansible/cp/ansible-ssh-%h-%p-%r -tt zlt14143.vci.att.com '/bin/sh -c '”‘“'sudo -H -S -n -u websphe /bin/sh -c '”’“'”‘"’“'”‘"’“‘echo BECOME-SUCCESS-qbtkjugivbiurbbkajdovxhabozqahri; /usr/bin/python /tmp/ansible-tmp-1490304963.93-167360694044386/file.py’”‘"’“'”‘"’“'”‘"’ && sleep 0’“'”‘’
ok: [zlt14143.vci.att.com] => {
“changed”: false,
“diff”: {
“after”: {
“path”: “bin-tmp”
},
“before”: {
“path”: “bin-tmp”
}
},
“gid”: 600,
“group”: “websphe”,
“invocation”: {
“module_args”: {
“backup”: null,
“content”: null,
“delimiter”: null,
“diff_peek”: null,
“directory_mode”: null,
“follow”: false,
“force”: false,
“group”: null,
“mode”: null,
“original_basename”: null,
“owner”: null,
“path”: “bin-tmp”,
“recurse”: false,
“regexp”: null,
“remote_src”: null,
“selevel”: null,
“serole”: null,
“setype”: null,
“seuser”: null,
“src”: null,
“state”: “directory”,
“unsafe_writes”: null,
“validate”: null
},
“module_name”: “file”
},
“mode”: “0750”,
“owner”: “websphe”,
“path”: “bin-tmp”,
“size”: 23,
“state”: “directory”,
“uid”: 600
}
TASK [copy file] ***************************************************************
task path: /home/jm6239/apb/site.yml:9
Using module file /home/jm6239/python26/lib/python2.6/site-packages/ansible/modules/core/files/stat.py
<zlt14143.vci.att.com> ESTABLISH SSH CONNECTION FOR USER: None
<zlt14143.vci.att.com> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/jm6239/.ansible/cp/ansible-ssh-%h-%p-%r zlt14143.vci.att.com ‘/bin/sh -c ‘"’"’( umask 77 && mkdir -p “echo /tmp/ansible-tmp-1490304964.62-180098139679591
” && echo ansible-tmp-1490304964.62-180098139679591=“echo /tmp/ansible-tmp-1490304964.62-180098139679591
” ) && sleep 0’“'”‘’
<zlt14143.vci.att.com> PUT /tmp/tmpSAzmvD TO /tmp/ansible-tmp-1490304964.62-180098139679591/stat.py
<zlt14143.vci.att.com> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/jm6239/.ansible/cp/ansible-ssh-%h-%p-%r ‘[zlt14143.vci.att.com]’
<zlt14143.vci.att.com> ESTABLISH SSH CONNECTION FOR USER: None
<zlt14143.vci.att.com> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/jm6239/.ansible/cp/ansible-ssh-%h-%p-%r zlt14143.vci.att.com ‘/bin/sh -c ‘"’“‘setfacl -m u:websphe:r-x /tmp/ansible-tmp-1490304964.62-180098139679591/ /tmp/ansible-tmp-1490304964.62-180098139679591/stat.py && sleep 0’”’“‘’
<zlt14143.vci.att.com> ESTABLISH SSH CONNECTION FOR USER: None
<zlt14143.vci.att.com> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/jm6239/.ansible/cp/ansible-ssh-%h-%p-%r -tt zlt14143.vci.att.com '/bin/sh -c '”‘“'sudo -H -S -n -u websphe /bin/sh -c '”’“'”‘"’“'”‘"’“‘echo BECOME-SUCCESS-vhwdotdcrejnwkbsjrjqxabmpqkbxmal; /usr/bin/python /tmp/ansible-tmp-1490304964.62-180098139679591/stat.py’”‘"’“'”‘"’“'”‘"’ && sleep 0’“'”‘’
Using module file /home/jm6239/python26/lib/python2.6/site-packages/ansible/modules/core/files/file.py
<zlt14143.vci.att.com> ESTABLISH SSH CONNECTION FOR USER: None
<zlt14143.vci.att.com> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/jm6239/.ansible/cp/ansible-ssh-%h-%p-%r zlt14143.vci.att.com ‘/bin/sh -c ‘"’"’( umask 77 && mkdir -p “echo /tmp/ansible-tmp-1490304965.03-76353737824909
” && echo ansible-tmp-1490304965.03-76353737824909=“echo /tmp/ansible-tmp-1490304965.03-76353737824909
” ) && sleep 0’“'”‘’
<zlt14143.vci.att.com> PUT /tmp/tmpeDGPZb TO /tmp/ansible-tmp-1490304965.03-76353737824909/file.py
<zlt14143.vci.att.com> SSH: EXEC sftp -b - -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/jm6239/.ansible/cp/ansible-ssh-%h-%p-%r ‘[zlt14143.vci.att.com]’
<zlt14143.vci.att.com> ESTABLISH SSH CONNECTION FOR USER: None
<zlt14143.vci.att.com> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/jm6239/.ansible/cp/ansible-ssh-%h-%p-%r zlt14143.vci.att.com ‘/bin/sh -c ‘"’“‘setfacl -m u:websphe:r-x /tmp/ansible-tmp-1490304965.03-76353737824909/ /tmp/ansible-tmp-1490304965.03-76353737824909/file.py && sleep 0’”’“‘’
<zlt14143.vci.att.com> ESTABLISH SSH CONNECTION FOR USER: None
<zlt14143.vci.att.com> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/home/jm6239/.ansible/cp/ansible-ssh-%h-%p-%r -tt zlt14143.vci.att.com '/bin/sh -c '”‘“'sudo -H -S -n -u websphe /bin/sh -c '”’“'”‘"’“'”‘"’“‘echo BECOME-SUCCESS-urxseihnvczhzziuuucztrltyehnazuu; /usr/bin/python /tmp/ansible-tmp-1490304965.03-76353737824909/file.py’”‘"’“'”‘"’“'”‘"’ && sleep 0’“'”‘’
ok: [zlt14143.vci.att.com] => {
“changed”: false,
“checksum”: “da39a3ee5e6b4b0d3255bfef95601890afd80709”,
“dest”: “bin-tmp/jm_temp.sh”,
“diff”: {
“after”: {
“path”: “bin-tmp/jm_temp.sh”
},
“before”: {
“path”: “bin-tmp/jm_temp.sh”
}
},
“gid”: 600,
“group”: “websphe”,
“invocation”: {
“module_args”: {
“backup”: null,
“content”: null,
“delimiter”: null,
“dest”: “bin-tmp/jm_temp.sh”,
“diff_peek”: null,
“directory_mode”: null,
“follow”: false,
“force”: false,
“group”: null,
“mode”: null,
“original_basename”: “temp.sh”,
“owner”: null,
“path”: “bin-tmp/jm_temp.sh”,
“recurse”: false,
“regexp”: null,
“remote_src”: null,
“selevel”: null,
“serole”: null,
“setype”: null,
“seuser”: null,
“src”: “temp.sh”,
“state”: null,
“unsafe_writes”: null,
“validate”: null
}
},
“mode”: “0640”,
“owner”: “websphe”,
“path”: “bin-tmp/jm_temp.sh”,
“size”: 0,
“state”: “file”,
“uid”: 600
}
PLAY RECAP *********************************************************************
zlt14143.vci.att.com : ok=2 changed=0 unreachable=0 failed=0