Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TASK [custom : Pull NOC custom]16:08
- task path: /usr/local/tower/var/tower/playbooks/NOC01/additional_roles/custom/tasks/main.yml:1
- Using module file /usr/local/tower/lib/python2.7/site-packages/ansible/modules/source_control/git.py
- <172.16.5.6> ESTABLISH SSH CONNECTION FOR USER: ansible
- <172.16.5.6> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
- <172.16.5.6> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <172.16.5.6> SSH: ANSIBLE_REMOTE_PORT/remote_port/ansible_port set: (-o)(Port=22)
- <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")
- <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)
- <172.16.5.6> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=ansible)
- <172.16.5.6> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
- <172.16.5.6> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/tmp/tower-%r-%h-%r)
- <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'"'"''
- Escalation succeeded
- <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')
- fatal: [smr-nocn-01]: FAILED! => {
- "changed": false,
- "cmd": "/usr/local/bin/git checkout --force master",
- "invocation": {
- "module_args": {
- "accept_hostkey": false,
- "archive": null,
- "bare": false,
- "clone": true,
- "depth": null,
- "dest": "/usr/local/noc/custom",
- "executable": null,
- "force": true,
- "key_file": null,
- "recursive": true,
- "reference": null,
- "refspec": null,
- "remote": "origin",
- "repo": "/usr/local/noc/custom",
- "ssh_opts": null,
- "track_submodules": false,
- "umask": null,
- "update": true,
- "verify_commit": false,
- "version": "master"
- }
- },
- "rc": 1
- }
- STDERR:
- error: pathspec 'master' did not match any file(s) known to git.
- MSG:
- Failed to checkout master
- to retry, use: --limit @/usr/local/tower/var/tower/playbooks/NOC01/site.retry
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement