Advertisement
Guest User

Untitled

a guest
Jan 25th, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.19 KB | None | 0 0
  1. $ ansible-playbook -i inventory/ec2.py ssh-failure.yml -vvvv
  2. Using /home/user/Software/vagrant-machines/ansible/ansible.cfg as config file
  3. Loaded callback default of type stdout, v2.0
  4. 1 plays in ssh-failure.yml
  5. PLAY ***************************************************************************
  6. TASK [setup] *******************************************************************
  7. <ec2-<redacted>.compute-1.amazonaws.com> ESTABLISH SSH CONNECTION FOR USER: ubuntu
  8. <ec2-<redacted>.compute-1.amazonaws.com> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="<redacted>' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-
  9. mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ubuntu -o ConnectTimeout=10 -o ControlPath=/home/user/.ansible/cp/%r -tt ec2-<redacted>.compute-1.amazonaws.com '( umask 22 && mkdir -p "$( echo $HOME/.ans
  10. ible/tmp/ansible-tmp-1453711656.24-211161124021194 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1453711656.24-211161124021194 )" )'
  11. <ec2-<redacted>.compute-1.amazonaws.com> ESTABLISH SSH CONNECTION FOR USER: ubuntu
  12. <ec2-<redacted>.compute-1.amazonaws.com> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile=<redacted>' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mi
  13. c,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ubuntu -o ConnectTimeout=10 -o ControlPath=/home/user/.ansible/cp/%r -tt ec2-<redacted>.compute-1.amazonaws.com '( umask 22 && mkdir -p "$( echo $HOME/.ansible
  14. /tmp/ansible-tmp-1453711656.25-38271991931080 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1453711656.25-38271991931080 )" )'
  15. <ec2-<redacted>.compute-1.amazonaws.com> PUT /tmp/tmpnl45H5 TO /home/ubuntu/.ansible/tmp/ansible-tmp-1453711656.25-38271991931080/setup
  16. <ec2-<redacted>.compute-1.amazonaws.com> SSH: EXEC sftp -b - -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile=<redacted>' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-w
  17. ith-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ubuntu -o ConnectTimeout=10 -o ControlPath=/home/user/.ansible/cp/%r '[ec2-<redacted>.compute-1.amazonaws.com]'
  18. <ec2-<redacted>.compute-1.amazonaws.com> PUT /tmp/tmpiHk0HV TO /home/ubuntu/.ansible/tmp/ansible-tmp-1453711656.24-211161124021194/setup
  19. <ec2-<redacted>.compute-1.amazonaws.com> SSH: EXEC sftp -b - -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="/home/user/.ssh/ec2-access"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi
  20. -with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ubuntu -o ConnectTimeout=10 -o ControlPath=/home/user/.ansible/cp/%r '[ec2-<redacted>.compute-1.amazonaws.com]'
  21. fatal: [ec2-<redacted>.compute-1.amazonaws.com]: FAILED! => {"failed": true, "msg": "ERROR! failed to transfer file to /home/ubuntu/.ansible/tmp/ansible-tmp-1453711656.24-211161124021194/setup:\nsftp> put /tmp/tmpiHk0HV /home/ubuntu/
  22. .ansible/tmp/ansible-tmp-1453711656.24-211161124021194/setup\n\nOpenSSH_6.7p1 Debian-5+deb8u1, OpenSSL 1.0.1k 8 Jan 2015\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options f
  23. or *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 12592\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id
  24. : 4\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension \"[email protected]\" revision 1\r\ndebug2: Server supports extension \"[email protected]\" revision 2\r\ndebug2: Server supports extension \"fstatvfs@openssh
  25. .com\" revision 2\r\ndebug2: Server supports extension \"[email protected]\" revision 1\r\ndebug2: Server supports extension \"[email protected]\" revision 1\r\ndebug3: Sent message fd 5 T:16 I:1\r\ndebug3: SSH_FXP_REALPATH . -> /home
  26. /ubuntu size 0\r\ndebug3: Looking up /tmp/tmpiHk0HV\r\ndebug3: Sent message fd 5 T:17 I:2\r\ndebug3: Received stat reply T:101 I:2\r\ndebug1: Couldn't stat remote file: No such file or directory\r\ndebug3: Sent message SSH2_FXP_OPEN I:3
  27. P:/home/ubuntu/.ansible/tmp/ansible-tmp-1453711656.24-211161124021194/setup\r\nremote open(\"/home/ubuntu/.ansible/tmp/ansible-tmp-1453711656.24-211161124021194/setup\"): No such file or directory\r\ndebug3: mux_client_read_packet: read
  28. header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n"}
  29. <ec2-<redacted>.compute-1.amazonaws.com> ESTABLISH SSH CONNECTION FOR USER: ubuntu
  30. <ec2-<redacted>.compute-1.amazonaws.com> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o 'IdentityFile="/home/user/.ssh/ec2-access"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ubuntu -o ConnectTimeout=10 -o ControlPath=/home/user/.ansible/cp/%r -tt ec2-<redacted>.compute-1.amazonaws.com '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-jjiggzwpgembhyddwbgcfqttgjroouid; LANG=sv_SE.UTF-8 LC_ALL=sv_SE.UTF-8 LC_MESSAGES=sv_SE.UTF-8 /usr/bin/python /home/ubuntu/.ansible/tmp/ansible-tmp-1453711656.25-38271991931080/setup; rm -rf "/home
  31. /ubuntu/.ansible/tmp/ansible-tmp-1453711656.25-38271991931080/" > /dev/null 2>&1'"'"'"'"'"'"'"'"''"'"''
  32. ok: [ec2-<redacted>.compute-1.amazonaws.com]
  33. TASK [debug] *******************************************************************
  34. task path: /home/user/Software/vagrant-machines/ansible/ssh-failure.yml:6
  35. ok: [ec2-<redacted>.compute-1.amazonaws.com] => {
  36. "msg": "This is just a demonstration"
  37. }
  38. NO MORE HOSTS LEFT *************************************************************
  39. PLAY RECAP *********************************************************************
  40. ec2-<redacted>.compute-1.amazonaws.com : ok=2 changed=0 unreachable=0 failed=0
  41. ec2-<redacted>.compute-1.amazonaws.com : ok=0 changed=0 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement