ansible-playbook deploy.yml -e env=staging -e site=staging.OMITTED.com -vvvv
➜ trellis git:(master) ✗ ansible-playbook deploy.yml -e env=staging -e site=staging.kangapestcontrol.com -vvv | |
Using /Users/spencerhill/Sites/kangapestcontrol.com/trellis/ansible.cfg as config file | |
statically included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/initialize.yml | |
statically included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml | |
statically included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml | |
statically included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/build.yml | |
statically included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml | |
statically included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/finalize.yml | |
PLAYBOOK: deploy.yml *********************************************************** | |
3 plays in deploy.yml | |
PLAY [Ensure necessary variables are defined] ********************************** | |
TASK [Ensure environment is defined] ******************************************* | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/variable-check.yml:8 | |
skipping: [localhost] => { | |
"changed": false, | |
"skip_reason": "Conditional check failed", | |
"skipped": true | |
} | |
PLAY [Test Connection] ********************************************************* | |
TASK [connection : Require manual definition of remote-user] ******************* | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:2 | |
skipping: [staging.kangapestcontrol.com] => { | |
"changed": false, | |
"skip_reason": "Conditional check failed", | |
"skipped": true | |
} | |
TASK [connection : Check whether Ansible can connect as web] ******************* | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:9 | |
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/commands/command.py | |
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: spencerhill | |
<localhost> EXEC /bin/sh -c '/usr/local/opt/python/bin/python2.7 && sleep 0' | |
ok: [staging.kangapestcontrol.com -> localhost] => { | |
"changed": false, | |
"cmd": [ | |
"ansible", | |
"staging.kangapestcontrol.com", | |
"-m", | |
"raw", | |
"-a", | |
"whoami", | |
"-u", | |
"web", | |
"--connection=smart", | |
"--timeout=10", | |
"--inventory-file=hosts", | |
"-vvvv" | |
], | |
"delta": "0:00:06.520379", | |
"end": "2017-04-04 18:47:16.597241", | |
"failed": false, | |
"failed_when_result": false, | |
"invocation": { | |
"module_args": { | |
"_raw_params": "ansible staging.kangapestcontrol.com -m raw -a whoami -u web --connection='smart' --timeout='10' --inventory-file='hosts' -vvvv", | |
"_uses_shell": false, | |
"chdir": null, | |
"creates": null, | |
"executable": null, | |
"removes": null, | |
"warn": true | |
}, | |
"module_name": "command" | |
}, | |
"rc": 0, | |
"start": "2017-04-04 18:47:10.076862", | |
"stderr": "", | |
"stdout": "Using /Users/spencerhill/Sites/kangapestcontrol.com/trellis/ansible.cfg as config file\n\u001b[0;34mLoading callback plugin minimal of type stdout, v2.0 from /usr/local/lib/python2.7/site-packages/ansible/plugins/callback/__init__.pyc\u001b[0m\n\u001b[0;34m<staging.kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web\u001b[0m\n\u001b[0;34m<staging.kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o HostKeyAlgorithms=ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/Users/spencerhill/.ansible/cp/ansible-ssh-%h-%p-%r -tt staging.kangapestcontrol.com whoami\u001b[0m\n\u001b[0;32mstaging.kangapestcontrol.com | SUCCESS | rc=0 >>\nweb\r\nOpenSSH_7.4p1, LibreSSL 2.5.0\r\ndebug1: Reading configuration data /Users/spencerhill/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket \"/Users/spencerhill/.ansible/cp/ansible-ssh-staging.kangapestcontrol.com-22-web\" does not exist\r\ndebug2: resolving \"staging.kangapestcontrol.com\" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to staging.kangapestcontrol.com [104.236.146.117] port 22.\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: fd 5 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9856 ms remain after connect\r\ndebug1: identity file /Users/spencerhill/.ssh/id_rsa type 1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /Users/spencerhill/.ssh/id_rsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /Users/spencerhill/.ssh/id_dsa type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /Users/spencerhill/.ssh/id_dsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /Users/spencerhill/.ssh/id_ecdsa type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /Users/spencerhill/.ssh/id_ecdsa-cert type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /Users/spencerhill/.ssh/id_ed25519 type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file /Users/spencerhill/.ssh/id_ed25519-cert type -1\r\ndebug1: Enabling compatibility mode for protocol 2.0\r\ndebug1: Local version string SSH-2.0-OpenSSH_7.4\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2\r\ndebug1: match: OpenSSH_7.2p2 pat OpenSSH* compat 0x04000000\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: Authenticating to staging.kangapestcontrol.com:22 as 'web'\r\ndebug3: send packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug3: receive packet: type 20\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug2: local client KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c\r\ndebug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa\r\ndebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc\r\ndebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc\r\ndebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,zlib@openssh.com,zlib\r\ndebug2: compression stoc: none,zlib@openssh.com,zlib\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug2: peer server KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256\r\ndebug2: host key algorithms: ssh-ed25519,ssh-rsa,rsa-sha2-512,rsa-sha2-256\r\ndebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr\r\ndebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr\r\ndebug2: MACs ctos: hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160\r\ndebug2: MACs stoc: hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160\r\ndebug2: compression ctos: none,zlib@openssh.com\r\ndebug2: compression stoc: none,zlib@openssh.com\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug1: kex: algorithm: curve25519-sha256@libssh.org\r\ndebug1: kex: host key algorithm: ssh-ed25519\r\ndebug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none\r\ndebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none\r\ndebug3: send packet: type 30\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug3: receive packet: type 31\r\ndebug1: Server host key: ssh-ed25519 SHA256:KeJ71gCJ+2o4E9ia7h0RmCbUUNIAwZTjNQ2SNXvexJo\r\ndebug3: hostkeys_foreach: reading file \"/Users/spencerhill/.ssh/known_hosts\"\r\ndebug3: record_hostkey: found key type ED25519 in file /Users/spencerhill/.ssh/known_hosts:9\r\ndebug3: load_hostkeys: loaded 1 keys from staging.kangapestcontrol.com\r\ndebug3: hostkeys_foreach: reading file \"/Users/spencerhill/.ssh/known_hosts\"\r\ndebug3: record_hostkey: found key type ED25519 in file /Users/spencerhill/.ssh/known_hosts:9\r\ndebug3: load_hostkeys: loaded 1 keys from 104.236.146.117\r\ndebug1: Host 'staging.kangapestcontrol.com' is known and matches the ED25519 host key.\r\ndebug1: Found key in /Users/spencerhill/.ssh/known_hosts:9\r\ndebug3: send packet: type 21\r\ndebug2: set_newkeys: mode 1\r\ndebug1: rekey after 134217728 blocks\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug3: receive packet: type 21\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug2: set_newkeys: mode 0\r\ndebug1: rekey after 134217728 blocks\r\ndebug2: key: /Users/spencerhill/.ssh/id_rsa (0x7fb2a2418c00), agent\r\ndebug2: key: /Users/spencerhill/.ssh/id_dsa (0x0)\r\ndebug2: key: /Users/spencerhill/.ssh/id_ecdsa (0x0)\r\ndebug2: key: /Users/spencerhill/.ssh/id_ed25519 (0x0)\r\ndebug3: send packet: type 5\r\ndebug3: receive packet: type 7\r\ndebug1: SSH2_MSG_EXT_INFO received\r\ndebug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>\r\ndebug3: receive packet: type 6\r\ndebug2: service_accept: ssh-userauth\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 51\r\ndebug1: Authentications that can continue: publickey\r\ndebug3: start over, passed a different list publickey\r\ndebug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_lookup publickey\r\ndebug3: remaining preferred: ,gssapi-keyex,hostbased,publickey\r\ndebug3: authmethod_is_enabled publickey\r\ndebug1: Next authentication method: publickey\r\ndebug1: Offering RSA public key: /Users/spencerhill/.ssh/id_rsa\r\ndebug3: send_pubkey_test\r\ndebug3: send packet: type 50\r\ndebug2: we sent a publickey packet, wait for reply\r\ndebug3: receive packet: type 60\r\ndebug1: Server accepts key: pkalg rsa-sha2-512 blen 279\r\ndebug2: input_userauth_pk_ok: fp SHA256:KzkDq8g+izwamAwb4WcN+ebIwINf9xnmYMBPRpN7un0\r\ndebug3: sign_and_send_pubkey: RSA SHA256:KzkDq8g+izwamAwb4WcN+ebIwINf9xnmYMBPRpN7un0\r\ndebug3: send packet: type 50\r\ndebug3: receive packet: type 52\r\ndebug1: Authentication succeeded (publickey).\r\nAuthenticated to staging.kangapestcontrol.com ([104.236.146.117]:22).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver_listen: temporary control path /Users/spencerhill/.ansible/cp/ansible-ssh-staging.kangapestcontrol.com-22-web.w5iDmiIjextpxCdo\r\ndebug2: fd 7 setting O_NONBLOCK\r\ndebug3: fd 7 is O_NONBLOCK\r\ndebug3: fd 7 is O_NONBLOCK\r\ndebug1: channel 0: new [/Users/spencerhill/.ansible/cp/ansible-ssh-staging.kangapestcontrol.com-22-web]\r\ndebug3: muxserver_listen: mux listener channel 0 fd 7\r\ndebug2: fd 5 setting TCP_NODELAY\r\ndebug3: ssh_packet_set_tos: set IP_TOS 0x08\r\ndebug1: control_persist_detach: backgrounding master process\r\ndebug2: control_persist_detach: background process is 12718\r\ndebug2: fd 7 setting O_NONBLOCK\r\ndebug1: forking to background\r\ndebug1: Entering interactive session.\r\ndebug1: pledge: id\r\ndebug2: set_control_persist_exit_time: schedule exit in 60 seconds\r\ndebug1: multiplexing control connection\r\ndebug3: fd 8 is O_NONBLOCK\r\ndebug3: fd 8 is O_NONBLOCK\r\ndebug1: channel 1: new [mux-control]\r\ndebug3: channel_post_mux_listener: new mux channel 1 fd 8\r\ndebug3: mux_master_read_cb: channel 1: hello sent\r\ndebug2: set_control_persist_exit_time: cancel scheduled exit\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4\r\ndebug2: process_mux_master_hello: channel 1 slave version 4\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_master_read_cb: channel 1 packet type 0x10000004 len 4\r\ndebug2: process_mux_alive_check: channel 1: alive check\r\ndebug3: mux_client_request_alive: done pid = 12720\r\ndebug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 56\r\ndebug2: process_mux_new_session: channel 1: request tty 1, X 0, agent 1, subsys 0, term \"xterm-256color\", cmd \"whoami\", env 0\r\ndebug3: mux_client_request_session: session request sent\r\ndebug3: process_mux_new_session: got fds stdin 9, stdout 10, stderr 11\r\ndebug2: fd 10 setting O_NONBLOCK\r\ndebug2: fd 11 setting O_NONBLOCK\r\ndebug1: channel 2: new [client-session]\r\ndebug2: process_mux_new_session: channel_new: 2 linked to control channel 1\r\ndebug2: channel 2: send open\r\ndebug3: send packet: type 90\r\ndebug3: receive packet: type 80\r\ndebug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0\r\ndebug3: receive packet: type 91\r\ndebug2: callback start\r\ndebug1: Requesting authentication agent forwarding.\r\ndebug2: channel 2: request auth-agent-req@openssh.com confirm 0\r\ndebug3: send packet: type 98\r\ndebug2: client_session2_setup: id 2\r\ndebug2: channel 2: request pty-req confirm 1\r\ndebug3: send packet: type 98\r\ndebug1: Sending command: whoami\r\ndebug2: channel 2: request exec confirm 1\r\ndebug3: send packet: type 98\r\ndebug3: mux_session_confirm: sending success reply\r\ndebug2: callback done\r\ndebug2: channel 2: open confirm rwindow 0 rmax 32768\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 2\r\ndebug2: PTY allocation request accepted on channel 2\r\ndebug2: channel 2: rcvd adjust 2097152\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 2\r\ndebug2: exec request accepted on channel 2\r\ndebug3: receive packet: type 96\r\ndebug2: channel 2: rcvd eof\r\ndebug2: channel 2: output open -> drain\r\ndebug2: channel 2: obuf empty\r\ndebug2: channel 2: close_write\r\ndebug2: channel 2: output drain -> closed\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 2 rtype exit-status reply 0\r\ndebug3: mux_exit_message: channel 2: exit message, exitval 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 2 rtype eow@openssh.com reply 0\r\ndebug2: channel 2: rcvd eow\r\ndebug2: channel 2: close_read\r\ndebug2: channel 2: input open -> closed\r\ndebug3: receive packet: type 97\r\ndebug2: channel 2: rcvd close\r\ndebug3: channel 2: will not send data after close\r\ndebug2: channel 2: send close\r\ndebug3: send packet: type 97\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: gc: notify user\r\ndebug3: mux_master_session_cleanup_cb: entering for channel 2\r\ndebug2: channel 1: rcvd close\r\ndebug2: channel 1: output open -> drain\r\ndebug2: channel 1: close_read\r\ndebug2: channel 1: input open -> closed\r\ndebug2: channel 2: gc: user detached\r\ndebug2: channel 2: is dead\r\ndebug2: channel 2: garbage collecting\r\ndebug1: channel 2: free: client-session, nchannels 3\r\ndebug3: channel 2: status: The following connections are open:\r\n #1 mux-control (t16 r-1 i3/0 o1/16 fd 8/8 cc -1)\r\n #2 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)\r\n\r\ndebug2: channel 1: obuf empty\r\ndebug2: channel 1: close_write\r\ndebug2: channel 1: output drain -> closed\r\ndebug2: channel 1: is dead (local)\r\ndebug2: channel 1: gc: notify user\r\ndebug3: mux_master_control_cleanup_cb: entering for channel 1\r\ndebug2: channel 1: gc: user detached\r\ndebug2: channel 1: is dead (local)\r\ndebug2: channel 1: garbage collecting\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug1: channel 1: free: mux-control, nchannels 2\r\ndebug3: channel 1: status: The following connections are open:\r\n #1 mux-control (t16 r-1 i3/0 o3/0 fd 8/8 cc -1)\r\n\r\ndebug2: set_control_persist_exit_time: schedule exit in 60 seconds\r\ndebug2: Received exit status from master 0\r\nShared connection to staging.kangapestcontrol.com closed.\r\n\n\u001b[0m", | |
"stdout_lines": [ | |
"Using /Users/spencerhill/Sites/kangapestcontrol.com/trellis/ansible.cfg as config file", | |
"\u001b[0;34mLoading callback plugin minimal of type stdout, v2.0 from /usr/local/lib/python2.7/site-packages/ansible/plugins/callback/__init__.pyc\u001b[0m", | |
"\u001b[0;34m<staging.kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web\u001b[0m", | |
"\u001b[0;34m<staging.kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o HostKeyAlgorithms=ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/Users/spencerhill/.ansible/cp/ansible-ssh-%h-%p-%r -tt staging.kangapestcontrol.com whoami\u001b[0m", | |
"\u001b[0;32mstaging.kangapestcontrol.com | SUCCESS | rc=0 >>", | |
"web", | |
"OpenSSH_7.4p1, LibreSSL 2.5.0", | |
"debug1: Reading configuration data /Users/spencerhill/.ssh/config", | |
"debug1: Reading configuration data /etc/ssh/ssh_config", | |
"debug1: auto-mux: Trying existing master", | |
"debug1: Control socket \"/Users/spencerhill/.ansible/cp/ansible-ssh-staging.kangapestcontrol.com-22-web\" does not exist", | |
"debug2: resolving \"staging.kangapestcontrol.com\" port 22", | |
"debug2: ssh_connect_direct: needpriv 0", | |
"debug1: Connecting to staging.kangapestcontrol.com [104.236.146.117] port 22.", | |
"debug2: fd 5 setting O_NONBLOCK", | |
"debug1: fd 5 clearing O_NONBLOCK", | |
"debug1: Connection established.", | |
"debug3: timeout: 9856 ms remain after connect", | |
"debug1: identity file /Users/spencerhill/.ssh/id_rsa type 1", | |
"debug1: key_load_public: No such file or directory", | |
"debug1: identity file /Users/spencerhill/.ssh/id_rsa-cert type -1", | |
"debug1: key_load_public: No such file or directory", | |
"debug1: identity file /Users/spencerhill/.ssh/id_dsa type -1", | |
"debug1: key_load_public: No such file or directory", | |
"debug1: identity file /Users/spencerhill/.ssh/id_dsa-cert type -1", | |
"debug1: key_load_public: No such file or directory", | |
"debug1: identity file /Users/spencerhill/.ssh/id_ecdsa type -1", | |
"debug1: key_load_public: No such file or directory", | |
"debug1: identity file /Users/spencerhill/.ssh/id_ecdsa-cert type -1", | |
"debug1: key_load_public: No such file or directory", | |
"debug1: identity file /Users/spencerhill/.ssh/id_ed25519 type -1", | |
"debug1: key_load_public: No such file or directory", | |
"debug1: identity file /Users/spencerhill/.ssh/id_ed25519-cert type -1", | |
"debug1: Enabling compatibility mode for protocol 2.0", | |
"debug1: Local version string SSH-2.0-OpenSSH_7.4", | |
"debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2", | |
"debug1: match: OpenSSH_7.2p2 pat OpenSSH* compat 0x04000000", | |
"debug2: fd 5 setting O_NONBLOCK", | |
"debug1: Authenticating to staging.kangapestcontrol.com:22 as 'web'", | |
"debug3: send packet: type 20", | |
"debug1: SSH2_MSG_KEXINIT sent", | |
"debug3: receive packet: type 20", | |
"debug1: SSH2_MSG_KEXINIT received", | |
"debug2: local client KEXINIT proposal", | |
"debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c", | |
"debug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa", | |
"debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc", | |
"debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc", | |
"debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1", | |
"debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1", | |
"debug2: compression ctos: none,zlib@openssh.com,zlib", | |
"debug2: compression stoc: none,zlib@openssh.com,zlib", | |
"debug2: languages ctos: ", | |
"debug2: languages stoc: ", | |
"debug2: first_kex_follows 0 ", | |
"debug2: reserved 0 ", | |
"debug2: peer server KEXINIT proposal", | |
"debug2: KEX algorithms: curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256", | |
"debug2: host key algorithms: ssh-ed25519,ssh-rsa,rsa-sha2-512,rsa-sha2-256", | |
"debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr", | |
"debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr", | |
"debug2: MACs ctos: hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160", | |
"debug2: MACs stoc: hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160", | |
"debug2: compression ctos: none,zlib@openssh.com", | |
"debug2: compression stoc: none,zlib@openssh.com", | |
"debug2: languages ctos: ", | |
"debug2: languages stoc: ", | |
"debug2: first_kex_follows 0 ", | |
"debug2: reserved 0 ", | |
"debug1: kex: algorithm: curve25519-sha256@libssh.org", | |
"debug1: kex: host key algorithm: ssh-ed25519", | |
"debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none", | |
"debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none", | |
"debug3: send packet: type 30", | |
"debug1: expecting SSH2_MSG_KEX_ECDH_REPLY", | |
"debug3: receive packet: type 31", | |
"debug1: Server host key: ssh-ed25519 SHA256:KeJ71gCJ+2o4E9ia7h0RmCbUUNIAwZTjNQ2SNXvexJo", | |
"debug3: hostkeys_foreach: reading file \"/Users/spencerhill/.ssh/known_hosts\"", | |
"debug3: record_hostkey: found key type ED25519 in file /Users/spencerhill/.ssh/known_hosts:9", | |
"debug3: load_hostkeys: loaded 1 keys from staging.kangapestcontrol.com", | |
"debug3: hostkeys_foreach: reading file \"/Users/spencerhill/.ssh/known_hosts\"", | |
"debug3: record_hostkey: found key type ED25519 in file /Users/spencerhill/.ssh/known_hosts:9", | |
"debug3: load_hostkeys: loaded 1 keys from 104.236.146.117", | |
"debug1: Host 'staging.kangapestcontrol.com' is known and matches the ED25519 host key.", | |
"debug1: Found key in /Users/spencerhill/.ssh/known_hosts:9", | |
"debug3: send packet: type 21", | |
"debug2: set_newkeys: mode 1", | |
"debug1: rekey after 134217728 blocks", | |
"debug1: SSH2_MSG_NEWKEYS sent", | |
"debug1: expecting SSH2_MSG_NEWKEYS", | |
"debug3: receive packet: type 21", | |
"debug1: SSH2_MSG_NEWKEYS received", | |
"debug2: set_newkeys: mode 0", | |
"debug1: rekey after 134217728 blocks", | |
"debug2: key: /Users/spencerhill/.ssh/id_rsa (0x7fb2a2418c00), agent", | |
"debug2: key: /Users/spencerhill/.ssh/id_dsa (0x0)", | |
"debug2: key: /Users/spencerhill/.ssh/id_ecdsa (0x0)", | |
"debug2: key: /Users/spencerhill/.ssh/id_ed25519 (0x0)", | |
"debug3: send packet: type 5", | |
"debug3: receive packet: type 7", | |
"debug1: SSH2_MSG_EXT_INFO received", | |
"debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>", | |
"debug3: receive packet: type 6", | |
"debug2: service_accept: ssh-userauth", | |
"debug1: SSH2_MSG_SERVICE_ACCEPT received", | |
"debug3: send packet: type 50", | |
"debug3: receive packet: type 51", | |
"debug1: Authentications that can continue: publickey", | |
"debug3: start over, passed a different list publickey", | |
"debug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey", | |
"debug3: authmethod_lookup publickey", | |
"debug3: remaining preferred: ,gssapi-keyex,hostbased,publickey", | |
"debug3: authmethod_is_enabled publickey", | |
"debug1: Next authentication method: publickey", | |
"debug1: Offering RSA public key: /Users/spencerhill/.ssh/id_rsa", | |
"debug3: send_pubkey_test", | |
"debug3: send packet: type 50", | |
"debug2: we sent a publickey packet, wait for reply", | |
"debug3: receive packet: type 60", | |
"debug1: Server accepts key: pkalg rsa-sha2-512 blen 279", | |
"debug2: input_userauth_pk_ok: fp SHA256:KzkDq8g+izwamAwb4WcN+ebIwINf9xnmYMBPRpN7un0", | |
"debug3: sign_and_send_pubkey: RSA SHA256:KzkDq8g+izwamAwb4WcN+ebIwINf9xnmYMBPRpN7un0", | |
"debug3: send packet: type 50", | |
"debug3: receive packet: type 52", | |
"debug1: Authentication succeeded (publickey).", | |
"Authenticated to staging.kangapestcontrol.com ([104.236.146.117]:22).", | |
"debug1: setting up multiplex master socket", | |
"debug3: muxserver_listen: temporary control path /Users/spencerhill/.ansible/cp/ansible-ssh-staging.kangapestcontrol.com-22-web.w5iDmiIjextpxCdo", | |
"debug2: fd 7 setting O_NONBLOCK", | |
"debug3: fd 7 is O_NONBLOCK", | |
"debug3: fd 7 is O_NONBLOCK", | |
"debug1: channel 0: new [/Users/spencerhill/.ansible/cp/ansible-ssh-staging.kangapestcontrol.com-22-web]", | |
"debug3: muxserver_listen: mux listener channel 0 fd 7", | |
"debug2: fd 5 setting TCP_NODELAY", | |
"debug3: ssh_packet_set_tos: set IP_TOS 0x08", | |
"debug1: control_persist_detach: backgrounding master process", | |
"debug2: control_persist_detach: background process is 12718", | |
"debug2: fd 7 setting O_NONBLOCK", | |
"debug1: forking to background", | |
"debug1: Entering interactive session.", | |
"debug1: pledge: id", | |
"debug2: set_control_persist_exit_time: schedule exit in 60 seconds", | |
"debug1: multiplexing control connection", | |
"debug3: fd 8 is O_NONBLOCK", | |
"debug3: fd 8 is O_NONBLOCK", | |
"debug1: channel 1: new [mux-control]", | |
"debug3: channel_post_mux_listener: new mux channel 1 fd 8", | |
"debug3: mux_master_read_cb: channel 1: hello sent", | |
"debug2: set_control_persist_exit_time: cancel scheduled exit", | |
"debug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4", | |
"debug2: process_mux_master_hello: channel 1 slave version 4", | |
"debug2: mux_client_hello_exchange: master version 4", | |
"debug3: mux_client_forwards: request forwardings: 0 local, 0 remote", | |
"debug3: mux_client_request_session: entering", | |
"debug3: mux_client_request_alive: entering", | |
"debug3: mux_master_read_cb: channel 1 packet type 0x10000004 len 4", | |
"debug2: process_mux_alive_check: channel 1: alive check", | |
"debug3: mux_client_request_alive: done pid = 12720", | |
"debug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 56", | |
"debug2: process_mux_new_session: channel 1: request tty 1, X 0, agent 1, subsys 0, term \"xterm-256color\", cmd \"whoami\", env 0", | |
"debug3: mux_client_request_session: session request sent", | |
"debug3: process_mux_new_session: got fds stdin 9, stdout 10, stderr 11", | |
"debug2: fd 10 setting O_NONBLOCK", | |
"debug2: fd 11 setting O_NONBLOCK", | |
"debug1: channel 2: new [client-session]", | |
"debug2: process_mux_new_session: channel_new: 2 linked to control channel 1", | |
"debug2: channel 2: send open", | |
"debug3: send packet: type 90", | |
"debug3: receive packet: type 80", | |
"debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0", | |
"debug3: receive packet: type 91", | |
"debug2: callback start", | |
"debug1: Requesting authentication agent forwarding.", | |
"debug2: channel 2: request auth-agent-req@openssh.com confirm 0", | |
"debug3: send packet: type 98", | |
"debug2: client_session2_setup: id 2", | |
"debug2: channel 2: request pty-req confirm 1", | |
"debug3: send packet: type 98", | |
"debug1: Sending command: whoami", | |
"debug2: channel 2: request exec confirm 1", | |
"debug3: send packet: type 98", | |
"debug3: mux_session_confirm: sending success reply", | |
"debug2: callback done", | |
"debug2: channel 2: open confirm rwindow 0 rmax 32768", | |
"debug1: mux_client_request_session: master session id: 2", | |
"debug3: receive packet: type 99", | |
"debug2: channel_input_status_confirm: type 99 id 2", | |
"debug2: PTY allocation request accepted on channel 2", | |
"debug2: channel 2: rcvd adjust 2097152", | |
"debug3: receive packet: type 99", | |
"debug2: channel_input_status_confirm: type 99 id 2", | |
"debug2: exec request accepted on channel 2", | |
"debug3: receive packet: type 96", | |
"debug2: channel 2: rcvd eof", | |
"debug2: channel 2: output open -> drain", | |
"debug2: channel 2: obuf empty", | |
"debug2: channel 2: close_write", | |
"debug2: channel 2: output drain -> closed", | |
"debug3: receive packet: type 98", | |
"debug1: client_input_channel_req: channel 2 rtype exit-status reply 0", | |
"debug3: mux_exit_message: channel 2: exit message, exitval 0", | |
"debug3: receive packet: type 98", | |
"debug1: client_input_channel_req: channel 2 rtype eow@openssh.com reply 0", | |
"debug2: channel 2: rcvd eow", | |
"debug2: channel 2: close_read", | |
"debug2: channel 2: input open -> closed", | |
"debug3: receive packet: type 97", | |
"debug2: channel 2: rcvd close", | |
"debug3: channel 2: will not send data after close", | |
"debug2: channel 2: send close", | |
"debug3: send packet: type 97", | |
"debug2: channel 2: is dead", | |
"debug2: channel 2: gc: notify user", | |
"debug3: mux_master_session_cleanup_cb: entering for channel 2", | |
"debug2: channel 1: rcvd close", | |
"debug2: channel 1: output open -> drain", | |
"debug2: channel 1: close_read", | |
"debug2: channel 1: input open -> closed", | |
"debug2: channel 2: gc: user detached", | |
"debug2: channel 2: is dead", | |
"debug2: channel 2: garbage collecting", | |
"debug1: channel 2: free: client-session, nchannels 3", | |
"debug3: channel 2: status: The following connections are open:", | |
" #1 mux-control (t16 r-1 i3/0 o1/16 fd 8/8 cc -1)", | |
" #2 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)", | |
"", | |
"debug2: channel 1: obuf empty", | |
"debug2: channel 1: close_write", | |
"debug2: channel 1: output drain -> closed", | |
"debug2: channel 1: is dead (local)", | |
"debug2: channel 1: gc: notify user", | |
"debug3: mux_master_control_cleanup_cb: entering for channel 1", | |
"debug2: channel 1: gc: user detached", | |
"debug2: channel 1: is dead (local)", | |
"debug2: channel 1: garbage collecting", | |
"debug3: mux_client_read_packet: read header failed: Broken pipe", | |
"debug1: channel 1: free: mux-control, nchannels 2", | |
"debug3: channel 1: status: The following connections are open:", | |
" #1 mux-control (t16 r-1 i3/0 o3/0 fd 8/8 cc -1)", | |
"", | |
"debug2: set_control_persist_exit_time: schedule exit in 60 seconds", | |
"debug2: Received exit status from master 0", | |
"Shared connection to staging.kangapestcontrol.com closed.", | |
"", | |
"\u001b[0m" | |
], | |
"warnings": [] | |
} | |
TASK [connection : Warn about change in host keys] ***************************** | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:17 | |
skipping: [staging.kangapestcontrol.com] => { | |
"changed": false, | |
"skip_reason": "Conditional check failed", | |
"skipped": true | |
} | |
TASK [connection : Set remote user for each host] ****************************** | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:41 | |
skipping: [staging.kangapestcontrol.com] => { | |
"changed": false, | |
"skip_reason": "Conditional check failed", | |
"skipped": true | |
} | |
TASK [connection : Announce which user was selected] *************************** | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:46 | |
skipping: [staging.kangapestcontrol.com] => { | |
"changed": false, | |
"skip_reason": "Conditional check failed", | |
"skipped": true | |
} | |
TASK [connection : Load become password] *************************************** | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:50 | |
skipping: [staging.kangapestcontrol.com] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"} | |
PLAY [Deploy WP site] ********************************************************** | |
TASK [setup] ******************************************************************* | |
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/system/setup.py | |
<staging.kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web | |
<staging.kangapestcontrol.com> SSH: EXEC ssh -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o HostKeyAlgorithms=ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/Users/spencerhill/.ansible/cp/ansible-ssh-%h-%p-%r staging.kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' | |
ok: [staging.kangapestcontrol.com] | |
TASK [Ensure site is valid] **************************************************** | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy.yml:38 | |
skipping: [staging.kangapestcontrol.com] => { | |
"changed": false, | |
"skip_reason": "Conditional check failed", | |
"skipped": true | |
} | |
TASK [Ensure repo is valid] **************************************************** | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy.yml:44 | |
skipping: [staging.kangapestcontrol.com] => { | |
"changed": false, | |
"skip_reason": "Conditional check failed", | |
"skipped": true | |
} | |
TASK [deploy : include] ******************************************************** | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/main.yml:2 | |
TASK [deploy : include] ******************************************************** | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/initialize.yml:2 | |
TASK [deploy : Initialize] ***************************************************** | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/initialize.yml:5 | |
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/extras/web_infrastructure/deploy_helper.py | |
<staging.kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web | |
<staging.kangapestcontrol.com> SSH: EXEC ssh -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o HostKeyAlgorithms=ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/Users/spencerhill/.ansible/cp/ansible-ssh-%h-%p-%r staging.kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' | |
ok: [staging.kangapestcontrol.com] => { | |
"ansible_facts": { | |
"deploy_helper": { | |
"current_path": "/srv/www/staging.kangapestcontrol.com/current", | |
"new_release": "20170405004722", | |
"new_release_path": "/srv/www/staging.kangapestcontrol.com/releases/20170405004722", | |
"previous_release": null, | |
"previous_release_path": null, | |
"project_path": "/srv/www/staging.kangapestcontrol.com", | |
"releases_path": "/srv/www/staging.kangapestcontrol.com/releases", | |
"shared_path": "/srv/www/staging.kangapestcontrol.com/shared", | |
"unfinished_filename": "DEPLOY_UNFINISHED" | |
} | |
}, | |
"changed": false, | |
"invocation": { | |
"module_args": { | |
"backup": null, | |
"clean": true, | |
"content": null, | |
"current_path": "current", | |
"delimiter": null, | |
"directory_mode": null, | |
"follow": false, | |
"force": null, | |
"group": null, | |
"keep_releases": 5, | |
"mode": null, | |
"owner": null, | |
"path": "/srv/www/staging.kangapestcontrol.com", | |
"regexp": null, | |
"release": null, | |
"releases_path": "releases", | |
"remote_src": null, | |
"selevel": null, | |
"serole": null, | |
"setype": null, | |
"seuser": null, | |
"shared_path": "shared", | |
"src": null, | |
"state": "present", | |
"unfinished_filename": "DEPLOY_UNFINISHED", | |
"unsafe_writes": null | |
}, | |
"module_name": "deploy_helper" | |
}, | |
"state": "present" | |
} | |
TASK [deploy : include] ******************************************************** | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/initialize.yml:11 | |
TASK [deploy : include] ******************************************************** | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:2 | |
TASK [deploy : Add known_hosts] ************************************************ | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:5 | |
TASK [deploy : Check whether project source path is a git repo] **************** | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:13 | |
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/stat.py | |
<staging.kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web | |
<staging.kangapestcontrol.com> SSH: EXEC ssh -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o HostKeyAlgorithms=ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/Users/spencerhill/.ansible/cp/ansible-ssh-%h-%p-%r staging.kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' | |
ok: [staging.kangapestcontrol.com] => { | |
"changed": false, | |
"invocation": { | |
"module_args": { | |
"checksum_algorithm": "sha1", | |
"follow": false, | |
"get_checksum": true, | |
"get_md5": true, | |
"mime": false, | |
"path": "/srv/www/staging.kangapestcontrol.com/shared/source/.git" | |
}, | |
"module_name": "stat" | |
}, | |
"stat": { | |
"exists": false | |
} | |
} | |
TASK [deploy : Get current git remote URL] ************************************* | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:18 | |
skipping: [staging.kangapestcontrol.com] => { | |
"changed": false, | |
"skip_reason": "Conditional check failed", | |
"skipped": true | |
} | |
TASK [deploy : Update git remote URL] ****************************************** | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:26 | |
skipping: [staging.kangapestcontrol.com] => { | |
"changed": false, | |
"skip_reason": "Conditional check failed", | |
"skipped": true | |
} | |
TASK [deploy : Clone project files] ******************************************** | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:32 | |
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/source_control/git.py | |
<staging.kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web | |
<staging.kangapestcontrol.com> SSH: EXEC ssh -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o HostKeyAlgorithms=ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,ssh-rsa -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/Users/spencerhill/.ansible/cp/ansible-ssh-%h-%p-%r staging.kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' | |
System info: | |
Ansible 2.2.1.0; Darwin | |
Trellis at "Check Ansible version before Ansible validates task attributes" | |
--------------------------------------------------- | |
Cloning into '/srv/www/staging.kangapestcontrol.com/shared/source'... | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
@ WARNING:********@ | |
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! | |
Someone could be eavesdropping on you right now (man-in-the-middle attack)! | |
It is also possible that a host key has just been changed. | |
The fingerprint for the ED25519 key sent by the remote host is | |
SHA256:moaEbSx88/SMsAmDAnJhfGPuxyKL69P1L236M0Fv2zA. | |
Please contact your system administrator. | |
Add correct host key in /home/web/.ssh/known_hosts to get rid of this | |
message. | |
Offending RSA key in /home/web/.ssh/known_hosts:5 | |
remove with: | |
ssh-keygen -f "/home/web/.ssh/known_hosts" -R gitlab.iteratemarketing.com | |
ED25519 host key for gitlab.iteratemarketing.com has changed and you have | |
requested strict checking. | |
Host key verification failed. | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. | |
Cloning into '/srv/www/staging.kangapestcontrol.com/shared/source'... | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
The ED25519 host key for gitlab.iteratemarketing.com has changed, | |
and the key for the corresponding IP address 50.112.185.53 | |
is unknown. This could either mean that | |
DNS SPOOFING is happening or the IP address for the host | |
and its host key have changed at the same time. | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ | |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | |
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! | |
Someone could be eavesdropping on you right now (man-in-the-middle attack)! | |
It is also possible that a host key has just been changed. | |
The fingerprint for the ED25519 key sent by the remote host is | |
SHA256:moaEbSx88/SMsAmDAnJhfGPuxyKL69P1L236M0Fv2zA. | |
Please contact your system administrator. | |
Add correct host key in /home/web/.ssh/known_hosts to get rid of this | |
message. | |
Offending RSA key in /home/web/.ssh/known_hosts:5 | |
remove with: | |
ssh-keygen -f "/home/web/.ssh/known_hosts" -R gitlab.iteratemarketing.com | |
ED25519 host key for gitlab.iteratemarketing.com has changed and you have | |
requested strict checking. | |
Host key verification failed. | |
fatal: Could not read from remote repository. | |
Please make sure you have the correct access rights | |
and the repository exists. | |
fatal: [staging.kangapestcontrol.com]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"} | |
...ignoring | |
TASK [deploy : Failed connection to remote repo] ******************************* | |
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:42 | |
System info: | |
Ansible 2.2.1.0; Darwin | |
Trellis at "Check Ansible version before Ansible validates task attributes" | |
--------------------------------------------------- | |
Git repo git@gitlab.iteratemarketing.com:iteratemarketing/kanga-pest- | |
control.git cannot be accessed. Please verify the repository exists and you | |
have SSH forwarding set up correctly. | |
More info: | |
> https://roots.io/trellis/docs/deploys/#ssh-keys | |
> https://roots.io/trellis/docs/ssh-keys/#cloning-remote-repo-using-ssh- | |
agent-forwarding | |
fatal: [staging.kangapestcontrol.com]: FAILED! => { | |
"changed": false, | |
"failed": true, | |
"invocation": { | |
"module_args": { | |
"msg": "Git repo git@gitlab.iteratemarketing.com:iteratemarketing/kanga-pest-control.git cannot be accessed. Please verify the repository exists and you have SSH forwarding set up correctly.\nMore info:\n> https://roots.io/trellis/docs/deploys/#ssh-keys\n> https://roots.io/trellis/docs/ssh-keys/#cloning-remote-repo-using-ssh-agent-forwarding\n" | |
}, | |
"module_name": "fail" | |
} | |
} | |
to retry, use: --limit @/Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy.retry | |
PLAY RECAP ********************************************************************* | |
localhost : ok=0 changed=0 unreachable=0 failed=0 | |
staging.kangapestcontrol.com : ok=5 changed=0 unreachable=0 failed=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment