Skip to content

Instantly share code, notes, and snippets.

@brodul
Created April 29, 2014 09:38
Show Gist options
  • Save brodul/11395399 to your computer and use it in GitHub Desktop.
Save brodul/11395399 to your computer and use it in GitHub Desktop.
PLAY [tag_test] ***************************************************************
TASK: [user name=pikapika comment="pikapika App User" home=/srv/pikapika] *****
<107.167.182.70> ESTABLISH CONNECTION FOR USER: brodul
<107.167.182.70> REMOTE_MODULE user name=pikapika comment="pikapika App User" home=/srv/pikapika
<107.167.182.70> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/brodul/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10', u'107.167.182.70', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1398764093.06-227944966233568 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1398764093.06-227944966233568 && echo $HOME/.ansible/tmp/ansible-tmp-1398764093.06-227944966233568'"]
<107.167.182.70> PUT /tmp/tmpdVFDvZ TO /home/brodul/.ansible/tmp/ansible-tmp-1398764093.06-227944966233568/user
<107.167.182.70> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/brodul/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10', u'107.167.182.70', '/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=acafhyewexcuvakyvvldfxsylywqzxir] password: " -u root /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-acafhyewexcuvakyvvldfxsylywqzxir; /usr/bin/python /home/brodul/.ansible/tmp/ansible-tmp-1398764093.06-227944966233568/user; rm -rf /home/brodul/.ansible/tmp/ansible-tmp-1398764093.06-227944966233568/ >/dev/null 2>&1\'"\'"\'\'']
ok: [test-instance] => {"append": false, "changed": false, "comment": "pikapika App User", "group": 1002, "home": "/srv/pikapika", "move_home": false, "name": "pikapika", "shell": "/bin/sh", "state": "present", "uid": 1002}
TASK: [debug msg=/srv/pikapika/engine/current/] *******************************
<107.167.182.70> ESTABLISH CONNECTION FOR USER: brodul
ok: [test-instance] => {
"msg": "/srv/nomnom//engine/currenut/"
}
TASK: [file path=/srv/pikapika/engine/current/ state=directory] ***************
<107.167.182.70> ESTABLISH CONNECTION FOR USER: brodul
<107.167.182.70> REMOTE_MODULE file path=/srv/nomnom//engine/current/ state=directory
<107.167.182.70> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/brodul/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10', u'107.167.182.70', "/bin/sh -c 'mkdir -p /tmp/ansible-tmp-1398764097.53-260456623107681 && chmod a+rx /tmp/ansible-tmp-1398764097.53-260456623107681 && echo /tmp/ansible-tmp-1398764097.53-260456623107681'"]
<107.167.182.70> PUT /tmp/tmp5hrpdP TO /tmp/ansible-tmp-1398764097.53-260456623107681/file
<107.167.182.70> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/brodul/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10', u'107.167.182.70', "/bin/sh -c 'chmod a+r /tmp/ansible-tmp-1398764097.53-260456623107681/file'"]
<107.167.182.70> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/brodul/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10', u'107.167.182.70', u'/bin/sh -c \'sudo -k && sudo -H -S -p "[sudo via ansible, key=lgdwgcxqbyiimiyveqywgaoankhcymqn] password: " -u pikapika /bin/sh -c \'"\'"\'echo SUDO-SUCCESS-lgdwgcxqbyiimiyveqywgaoankhcymqn; /usr/bin/python /tmp/ansible-tmp-1398764097.53-260456623107681/file\'"\'"\'\'']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment