TASK [../roles/rails : Update the bare Git repository] ***************************************************************************************************************************************
task path: /home/kris/dev/bcvs-server/deploy/roles/rails/tasks/rails.yml:32
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/source_control/git.py
<188.166.146.102> ESTABLISH SSH CONNECTION FOR USER: admin
<188.166.146.102> SSH: ansible.cfg set ssh_args: (-o)(ForwardAgent=yes)(-o)(ServerAliveInterval=30)(-o)(ControlMaster=auto)(-o)(ControlPersist=30m)
<188.166.146.102> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<188.166.146.102> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=admin)
<188.166.146.102> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<188.166.146.102> SSH: PlayContext set ssh_common_args: ()
<188.166.146.102> SSH: PlayContext set ssh_extra_args: ()
<188.166.146.102> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/kris/.ansible/cp/b48f3ea85d)
<188.166.146.102> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ServerAliveInterval=30 -o ControlMaster=auto -o ControlPersist=30m -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=admin -o ConnectTimeout=10 -o ControlPath=/home/kris/.ansible/cp/b48f3ea85d 188.166.146.102 '/bin/sh -c '"'"'sudo -H -S -n -u deploy /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-oqumtgssltlkgaeughqlqojlpxplhuhc; /usr/bin/python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
<188.166.146.102> (1, '\n{"stdout": "", "cmd": "/usr/bin/git clone --bare \'\' /home/deploy/apps/bcvs/production/cached-copy", "failed": true, "stderr": "Cloning into bare repository \'/home/deploy/apps/bcvs/production/cached-copy\'...\\nPermission denied (publickey).\\r\\nfatal: Could not read from remote repository.\\n\\nPlease make sure you have the correct access rights\\nand the repository exists.\\n", "rc": 128, "invocation": {"module_args": {"executable": null, "refspec": null, "force": false, "track_submodules": false, "reference": null, "dest": "/home/deploy/apps/bcvs/production/cached-copy", "verify_commit": false, "clone": true, "umask": null, "update": true, "accept_hostkey": true, "ssh_opts": null, "repo": "git@github.com:krisleech/mos.git", "depth": null, "version": "master", "bare": true, "remote": "origin", "key_file": null, "recursive": true}}, "msg": "Cloning into bare repository \'/home/deploy/apps/bcvs/production/cached-copy\'...\\nPermission denied (publickey).\\r\\nfatal: Could not read from remote repository.\\n\\nPlease make sure you have the correct access rights\\nand the repository exists."}\n', 'OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /home/kris/.ssh/config\r\ndebug1: /home/kris/.ssh/config line 14: Applying options for *\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\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 = 10559\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\nbash: warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF-8)\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
fatal: [188.166.146.102]: FAILED! => {
"changed": false,
"cmd": "/usr/bin/git clone --bare '' /home/deploy/apps/bcvs/production/cached-copy",
"failed": true,
"invocation": {
"module_args": {
"accept_hostkey": true,
"bare": true,
"clone": true,
"depth": null,
"dest": "/home/deploy/apps/bcvs/production/cached-copy",
"executable": null,
"force": false,
"key_file": null,
"recursive": true,
"reference": null,
"refspec": null,
"remote": "origin",
"repo": "git@github.com:krisleech/mos.git",
"ssh_opts": null,
"track_submodules": false,
"umask": null,
"update": true,
"verify_commit": false,
"version": "master"
}
},
"msg": "Cloning into bare repository '/home/deploy/apps/bcvs/production/cached-copy'...\nPermission denied (publickey).\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.",
"rc": 128,
"stderr": "Cloning into bare repository '/home/deploy/apps/bcvs/production/cached-copy'...\nPermission denied (publickey).\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n",
"stderr_lines": [
"Cloning into bare repository '/home/deploy/apps/bcvs/production/cached-copy'...",
"Permission denied (publickey).",
"fatal: Could not read from remote repository.",
"",
"Please make sure you have the correct access rights",
"and the repository exists."
],
"stdout": "",
"stdout_lines": []
}
to retry, use: --limit @/home/kris/dev/bcvs-server/deploy/bcvs/main.retry
-
-
Save krisleech/8bfbf817c237258a672b3b3393fea8dd to your computer and use it in GitHub Desktop.
Ansible verbose output
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment