Advertisement
Guest User

Untitled

a guest
May 23rd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. TASK [custom : Pull NOC custom]16:08
  2.  
  3. task path: /usr/local/tower/var/tower/playbooks/NOC01/additional_roles/custom/tasks/main.yml:1
  4. Using module file /usr/local/tower/lib/python2.7/site-packages/ansible/modules/source_control/git.py
  5. <172.16.5.6> ESTABLISH SSH CONNECTION FOR USER: ansible
  6. <172.16.5.6> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
  7. <172.16.5.6> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
  8. <172.16.5.6> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
  9. <172.16.5.6> SSH: ANSIBLE_PRIVATE_KEY_FILE/private_key_file/ansible_ssh_private_key_file set: (-o)(IdentityFile="/home/tower/.ssh/id_rsa")
  10. <172.16.5.6> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
  11. <172.16.5.6> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=ansible)
  12. <172.16.5.6> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
  13. <172.16.5.6> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/tmp/tower-%r-%h-%r)
  14. <172.16.5.6> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=22 -o 'IdentityFile="/home/tower/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/tmp/tower-%r-%h-%r 172.16.5.6 '/bin/sh -c '"'"'sudo -H -S -n -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ufrplkqtaxtpopqudkglbqvontlieuea; env /usr/local/bin/python2'"'"'"'"'"'"'"'"' && sleep 0'"'"''
  15. Escalation succeeded
  16. <172.16.5.6> (1, '\n{"stdout": "", "cmd": "/usr/local/bin/git checkout --force master", "failed": true, "stderr": "error: pathspec \'master\' did not match any file(s) known to git.\\n", "rc": 1, "invocation": {"module_args": {"executable": null, "refspec": null, "force": true, "track_submodules": false, "reference": null, "dest": "/usr/local/noc/custom", "verify_commit": false, "clone": true, "umask": null, "update": true, "accept_hostkey": false, "ssh_opts": null, "repo": "/usr/local/noc/custom", "depth": null, "version": "master", "bare": false, "remote": "origin", "key_file": null, "archive": null, "recursive": true}}, "msg": "Failed to checkout master"}\n', 'OpenSSH_7.2p2, OpenSSL 1.0.2k-freebsd 26 Jan 2017\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\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 = 5002\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
  17. fatal: [smr-nocn-01]: FAILED! => {
  18. "changed": false,
  19. "cmd": "/usr/local/bin/git checkout --force master",
  20. "invocation": {
  21. "module_args": {
  22. "accept_hostkey": false,
  23. "archive": null,
  24. "bare": false,
  25. "clone": true,
  26. "depth": null,
  27. "dest": "/usr/local/noc/custom",
  28. "executable": null,
  29. "force": true,
  30. "key_file": null,
  31. "recursive": true,
  32. "reference": null,
  33. "refspec": null,
  34. "remote": "origin",
  35. "repo": "/usr/local/noc/custom",
  36. "ssh_opts": null,
  37. "track_submodules": false,
  38. "umask": null,
  39. "update": true,
  40. "verify_commit": false,
  41. "version": "master"
  42. }
  43. },
  44. "rc": 1
  45. }
  46.  
  47. STDERR:
  48.  
  49. error: pathspec 'master' did not match any file(s) known to git.
  50.  
  51.  
  52.  
  53. MSG:
  54.  
  55. Failed to checkout master
  56. to retry, use: --limit @/usr/local/tower/var/tower/playbooks/NOC01/site.retry
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement