Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ansible-playbook site.yml -i hosts --ask-su-pass -vvvv
- Using /Users/space/repos/ansible-mail/ansible.cfg as config file
- SU password:
- Loaded callback default of type stdout, v2.0
- 1 plays in site.yml
- PLAY ***************************************************************************
- TASK [setup] *******************************************************************
- <10.42.23.142> ESTABLISH SSH CONNECTION FOR USER: space
- <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 `" )'"'"''
- <10.42.23.142> PUT /var/folders/9h/yyx6l7c17bg947vjpspv1pth0000gn/T/tmp7KrWt5 TO /home/space/.ansible/tmp/ansible-tmp-1462045723.57-231655409797875/setup
- <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]'
- <10.42.23.142> ESTABLISH SSH CONNECTION FOR USER: space
- <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'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"''"'"'"'"'"'"'"'"''"'"''
- fatal: [mail]: FAILED! => {"failed": true, "msg": "Timeout (12s) waiting for privilege escalation prompt: "}
- NO MORE HOSTS LEFT *************************************************************
- PLAY RECAP *********************************************************************
- mail : ok=0 changed=0 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement