Skip to content

Instantly share code, notes, and snippets.

@b4ldr
Created July 4, 2014 12:33
Show Gist options
  • Save b4ldr/84d1ea1c1f81d0937293 to your computer and use it in GitHub Desktop.
Save b4ldr/84d1ea1c1f81d0937293 to your computer and use it in GitHub Desktop.
time ansible -T20 -vvv 'lax03*' -m test.py
<lax03.example.com> ESTABLISH CONNECTION FOR USER: b4ldr
<lax03.example.com> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/b4ldr/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=20', u'lax03.example.com', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1404477098.53-159657835706860 && chmod a+rx $HOME/.ansible/tmp/ansible-1404477098.53-159657835706860 && echo $HOME/.ansible/tmp/ansible-1404477098.53-159657835706860'"]
<lax03.example.com> REMOTE_MODULE test.py
<lax03.example.com> PUT /tmp/tmp4wosoI TO /home/b4ldr/.ansible/tmp/ansible-1404477098.53-159657835706860/test.py
<lax03.example.com> PUT /tmp/tmpNjAri1 TO /home/b4ldr/.ansible/tmp/ansible-1404477098.53-159657835706860/arguments
<lax03.example.com> EXEC ['ssh', '-tt', '-q', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/b4ldr/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=20', u'lax03.example.com', "/bin/sh -c '/usr/bin/python /home/b4ldr/.ansible/tmp/ansible-1404477098.53-159657835706860/test.py /home/b4ldr/.ansible/tmp/ansible-1404477098.53-159657835706860/arguments; rm -rf /home/b4ldr/.ansible/tmp/ansible-1404477098.53-159657835706860/ >/dev/null 2>&1'"]
lax03.example.com | FAILED >> {
"failed": true,
"msg": "",
"parsed": false
}
real 0m11.021s
user 0m4.004s
sys 0m0.084s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment