Advertisement
Guest User

Untitled

a guest
Apr 30th, 2016
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. ansible-playbook site.yml -i hosts --ask-su-pass -vvvv
  2. Using /Users/space/repos/ansible-mail/ansible.cfg as config file
  3. SU password:
  4. Loaded callback default of type stdout, v2.0
  5. 1 plays in site.yml
  6.  
  7. PLAY ***************************************************************************
  8.  
  9. TASK [setup] *******************************************************************
  10. <10.42.23.142> ESTABLISH SSH CONNECTION FOR USER: space
  11. <10.42.23.142> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=space -o ConnectTimeout=10 -o ControlPath=/Users/space/.ansible/cp/ansible-ssh-%h-%p-%r -tt 10.42.23.142 '/bin/sh -c '"'"'( umask 22 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1462045723.57-231655409797875 `" && echo "` echo $HOME/.ansible/tmp/ansible-tmp-1462045723.57-231655409797875 `" )'"'"''
  12. <10.42.23.142> PUT /var/folders/9h/yyx6l7c17bg947vjpspv1pth0000gn/T/tmp7KrWt5 TO /home/space/.ansible/tmp/ansible-tmp-1462045723.57-231655409797875/setup
  13. <10.42.23.142> SSH: EXEC sftp -b - -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=space -o ConnectTimeout=10 -o ControlPath=/Users/space/.ansible/cp/ansible-ssh-%h-%p-%r '[10.42.23.142]'
  14. <10.42.23.142> ESTABLISH SSH CONNECTION FOR USER: space
  15. <10.42.23.142> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=space -o ConnectTimeout=10 -o ControlPath=/Users/space/.ansible/cp/ansible-ssh-%h-%p-%r 10.42.23.142 '/bin/sh -c '"'"'su root -c /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-cwhgyhqgnfxktqutvebnrgwfhkqghnuj; /bin/sh -c '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/local/bin/python2.7 ; rm -rf "/home/space/.ansible/tmp/ansible-tmp-1462045723.57-231655409797875/" > /dev/null 2>&1'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"''"'"''
  16. fatal: [mail]: FAILED! => {"failed": true, "msg": "Timeout (12s) waiting for privilege escalation prompt: "}
  17.  
  18. NO MORE HOSTS LEFT *************************************************************
  19.  
  20. PLAY RECAP *********************************************************************
  21. mail : ok=0 changed=0 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement