Skip to content

Instantly share code, notes, and snippets.

@s3w47m88
Created April 12, 2017 19:59
Show Gist options
  • Save s3w47m88/d390a65f310f9bbde9c5601546204a0d to your computer and use it in GitHub Desktop.
Save s3w47m88/d390a65f310f9bbde9c5601546204a0d to your computer and use it in GitHub Desktop.
➜ trellis git:(master) ✗ ansible-playbook deploy.yml -e env=production -e site=kangapestcontrol.com -vvvv
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
Loading callback plugin output of type stdout, v2.0 from /usr/local/lib/python2.7/site-packages/ansible/plugins/callback/__init__.pyc
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: [kangapestcontrol.com] => {
"changed": false,
"skip_reason": "Conditional check failed",
"skipped": true
}
TASK [connection : Specify preferred HostKeyAlgorithms for unknown hosts] ******
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:9
skipping: [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:18
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: [kangapestcontrol.com -> localhost] => {
"changed": false,
"cmd": [
"ansible",
"kangapestcontrol.com",
"-m",
"raw",
"-a",
"whoami",
"-u",
"web",
"--ssh-extra-args=",
"--connection=smart",
"--timeout=10",
"--inventory-file=hosts",
"-vvvv"
],
"delta": "0:00:04.696454",
"end": "2017-04-12 12:50:58.453609",
"failed": false,
"failed_when_result": false,
"invocation": {
"module_args": {
"_raw_params": "ansible kangapestcontrol.com -m raw -a whoami -u web\n --ssh-extra-args=\"\"\n --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-12 12:50:53.757155",
"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<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web\u001b[0m\n\u001b[0;34m<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com whoami\u001b[0m\n\u001b[0;32mkangapestcontrol.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-kangapestcontrol.com-22-web\" does not exist\r\ndebug2: resolving \"kangapestcontrol.com\" port 22\r\ndebug2: ssh_connect_direct: needpriv 0\r\ndebug1: Connecting to kangapestcontrol.com [192.241.208.108] port 22.\r\ndebug2: fd 5 setting O_NONBLOCK\r\ndebug1: fd 5 clearing O_NONBLOCK\r\ndebug1: Connection established.\r\ndebug3: timeout: 9958 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 kangapestcontrol.com:22 as 'web'\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:3\r\ndebug3: load_hostkeys: loaded 1 keys from kangapestcontrol.com\r\ndebug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],ssh-ed25519\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,[email protected],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: [email protected],ssh-ed25519,[email protected],[email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa\r\ndebug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc\r\ndebug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc\r\ndebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,[email protected],zlib\r\ndebug2: compression stoc: none,[email protected],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: [email protected],diffie-hellman-group-exchange-sha256\r\ndebug2: host key algorithms: ssh-ed25519,ssh-rsa,rsa-sha2-512,rsa-sha2-256\r\ndebug2: ciphers ctos: [email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr\r\ndebug2: ciphers stoc: [email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr\r\ndebug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],hmac-sha2-512,hmac-sha2-256,hmac-ripemd160\r\ndebug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],hmac-sha2-512,hmac-sha2-256,hmac-ripemd160\r\ndebug2: compression ctos: none,[email protected]\r\ndebug2: compression stoc: none,[email protected]\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug1: kex: algorithm: [email protected]\r\ndebug1: kex: host key algorithm: ssh-ed25519\r\ndebug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none\r\ndebug1: kex: client->server cipher: [email protected] 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:jWKp5WiGjaBQmEHX4iluB4Y5LX1reIPtR4nBUKgbzQo\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:3\r\ndebug3: load_hostkeys: loaded 1 keys from 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:3\r\ndebug3: load_hostkeys: loaded 1 keys from 192.241.208.108\r\ndebug1: Host 'kangapestcontrol.com' is known and matches the ED25519 host key.\r\ndebug1: Found key in /Users/spencerhill/.ssh/known_hosts:3\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 (0x7fc555d01f30), 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 kangapestcontrol.com ([192.241.208.108]:22).\r\ndebug1: setting up multiplex master socket\r\ndebug3: muxserver_listen: temporary control path /Users/spencerhill/.ansible/cp/ansible-ssh-kangapestcontrol.com-22-web.hIpN5wq01EHs0B6E\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-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 11748\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 = 11750\r\ndebug3: mux_client_request_session: session request sent\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: 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 [email protected] want_reply 0\r\ndebug3: receive packet: type 91\r\ndebug2: callback start\r\ndebug1: Requesting authentication agent forwarding.\r\ndebug2: channel 2: request [email protected] 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\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 [email protected] 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\ndebug3: channel 2: will not send data after close\r\ndebug2: channel 2: obuf empty\r\ndebug2: channel 2: close_write\r\ndebug2: channel 2: output drain -> closed\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/0 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\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\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\nShared connection to kangapestcontrol.com closed.\r\ndebug2: channel 1: is dead (local)\r\ndebug2: channel 1: garbage collecting\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\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<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web\u001b[0m",
"\u001b[0;34m<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com whoami\u001b[0m",
"\u001b[0;32mkangapestcontrol.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-kangapestcontrol.com-22-web\" does not exist",
"debug2: resolving \"kangapestcontrol.com\" port 22",
"debug2: ssh_connect_direct: needpriv 0",
"debug1: Connecting to kangapestcontrol.com [192.241.208.108] port 22.",
"debug2: fd 5 setting O_NONBLOCK",
"debug1: fd 5 clearing O_NONBLOCK",
"debug1: Connection established.",
"debug3: timeout: 9958 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 kangapestcontrol.com:22 as 'web'",
"debug3: hostkeys_foreach: reading file \"/Users/spencerhill/.ssh/known_hosts\"",
"debug3: record_hostkey: found key type ED25519 in file /Users/spencerhill/.ssh/known_hosts:3",
"debug3: load_hostkeys: loaded 1 keys from kangapestcontrol.com",
"debug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],ssh-ed25519",
"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,[email protected],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: [email protected],ssh-ed25519,[email protected],[email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa",
"debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc",
"debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc",
"debug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1",
"debug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1",
"debug2: compression ctos: none,[email protected],zlib",
"debug2: compression stoc: none,[email protected],zlib",
"debug2: languages ctos: ",
"debug2: languages stoc: ",
"debug2: first_kex_follows 0 ",
"debug2: reserved 0 ",
"debug2: peer server KEXINIT proposal",
"debug2: KEX algorithms: [email protected],diffie-hellman-group-exchange-sha256",
"debug2: host key algorithms: ssh-ed25519,ssh-rsa,rsa-sha2-512,rsa-sha2-256",
"debug2: ciphers ctos: [email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr",
"debug2: ciphers stoc: [email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr",
"debug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],hmac-sha2-512,hmac-sha2-256,hmac-ripemd160",
"debug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],hmac-sha2-512,hmac-sha2-256,hmac-ripemd160",
"debug2: compression ctos: none,[email protected]",
"debug2: compression stoc: none,[email protected]",
"debug2: languages ctos: ",
"debug2: languages stoc: ",
"debug2: first_kex_follows 0 ",
"debug2: reserved 0 ",
"debug1: kex: algorithm: [email protected]",
"debug1: kex: host key algorithm: ssh-ed25519",
"debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none",
"debug1: kex: client->server cipher: [email protected] 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:jWKp5WiGjaBQmEHX4iluB4Y5LX1reIPtR4nBUKgbzQo",
"debug3: hostkeys_foreach: reading file \"/Users/spencerhill/.ssh/known_hosts\"",
"debug3: record_hostkey: found key type ED25519 in file /Users/spencerhill/.ssh/known_hosts:3",
"debug3: load_hostkeys: loaded 1 keys from 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:3",
"debug3: load_hostkeys: loaded 1 keys from 192.241.208.108",
"debug1: Host 'kangapestcontrol.com' is known and matches the ED25519 host key.",
"debug1: Found key in /Users/spencerhill/.ssh/known_hosts:3",
"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 (0x7fc555d01f30), 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 kangapestcontrol.com ([192.241.208.108]:22).",
"debug1: setting up multiplex master socket",
"debug3: muxserver_listen: temporary control path /Users/spencerhill/.ansible/cp/ansible-ssh-kangapestcontrol.com-22-web.hIpN5wq01EHs0B6E",
"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-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 11748",
"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 = 11750",
"debug3: mux_client_request_session: session request sent",
"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: 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 [email protected] want_reply 0",
"debug3: receive packet: type 91",
"debug2: callback start",
"debug1: Requesting authentication agent forwarding.",
"debug2: channel 2: request [email protected] 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",
"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 [email protected] 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",
"debug3: channel 2: will not send data after close",
"debug2: channel 2: obuf empty",
"debug2: channel 2: close_write",
"debug2: channel 2: output drain -> closed",
"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/0 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",
"debug3: mux_client_read_packet: read header failed: Broken pipe",
"debug2: Received exit status from master 0",
"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",
"Shared connection to kangapestcontrol.com closed.",
"debug2: channel 1: is dead (local)",
"debug2: channel 1: garbage collecting",
"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",
"",
"\u001b[0m"
],
"warnings": []
}
TASK [connection : Warn about change in host keys] *****************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:29
skipping: [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:53
skipping: [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:58
skipping: [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:76
skipping: [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
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
ok: [kangapestcontrol.com]
TASK [Ensure site is valid] ****************************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy.yml:18
skipping: [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:23
skipping: [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:8
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/extras/web_infrastructure/deploy_helper.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
changed: [kangapestcontrol.com] => {
"ansible_facts": {
"deploy_helper": {
"current_path": "/srv/www/kangapestcontrol.com/current",
"new_release": "20170412195118",
"new_release_path": "/srv/www/kangapestcontrol.com/releases/20170412195118",
"previous_release": null,
"previous_release_path": null,
"project_path": "/srv/www/kangapestcontrol.com",
"releases_path": "/srv/www/kangapestcontrol.com/releases",
"shared_path": "/srv/www/kangapestcontrol.com/shared",
"unfinished_filename": "DEPLOY_UNFINISHED"
}
},
"changed": true,
"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/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:14
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:8
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/extras/system/known_hosts.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
changed: [kangapestcontrol.com] => (item={u'name': u'gitlab.iteratemarketing.com', u'key': u'gitlab.iteratemarketing.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNh/NW/bvjvoTDt9CuHwzIh3pVj4FB/t4jyrx74kcxu'}) => {
"changed": true,
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"changed": true,
"key": "gitlab.iteratemarketing.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNh/NW/bvjvoTDt9CuHwzIh3pVj4FB/t4jyrx74kcxu",
"name": "gitlab.iteratemarketing.com",
"path": "/home/web/.ssh/known_hosts",
"state": "present"
},
"module_name": "known_hosts"
},
"item": {
"key": "gitlab.iteratemarketing.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNh/NW/bvjvoTDt9CuHwzIh3pVj4FB/t4jyrx74kcxu",
"name": "gitlab.iteratemarketing.com"
},
"key": "gitlab.iteratemarketing.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNh/NW/bvjvoTDt9CuHwzIh3pVj4FB/t4jyrx74kcxu",
"mode": "0644",
"name": "gitlab.iteratemarketing.com",
"owner": "web",
"path": "/home/web/.ssh/known_hosts",
"size": 109,
"state": "file",
"uid": 1000
}
TASK [deploy : Check whether project source path is a git repo] ****************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:16
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/stat.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
ok: [kangapestcontrol.com] => {
"changed": false,
"invocation": {
"module_args": {
"checksum_algorithm": "sha1",
"follow": false,
"get_checksum": true,
"get_md5": true,
"mime": false,
"path": "/srv/www/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:21
skipping: [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:29
skipping: [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:35
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/source_control/git.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
changed: [kangapestcontrol.com] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
TASK [deploy : Failed connection to remote repo] *******************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:45
skipping: [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/update.yml:54
TASK [deploy : include] ********************************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:2
TASK [deploy : write unfinished file] ******************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:8
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/file.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
changed: [kangapestcontrol.com] => {
"changed": true,
"dest": "/srv/www/kangapestcontrol.com/shared/source/DEPLOY_UNFINISHED",
"diff": {
"after": {
"path": "/srv/www/kangapestcontrol.com/shared/source/DEPLOY_UNFINISHED",
"state": "touch"
},
"before": {
"path": "/srv/www/kangapestcontrol.com/shared/source/DEPLOY_UNFINISHED",
"state": "absent"
}
},
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"backup": null,
"content": null,
"delimiter": null,
"diff_peek": null,
"directory_mode": null,
"follow": false,
"force": false,
"group": null,
"mode": null,
"original_basename": null,
"owner": null,
"path": "/srv/www/kangapestcontrol.com/shared/source/DEPLOY_UNFINISHED",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "touch",
"unsafe_writes": null,
"validate": null
},
"module_name": "file"
},
"mode": "0644",
"owner": "web",
"size": 0,
"state": "file",
"uid": 1000
}
TASK [deploy : Check for project repo subtree] *********************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:13
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/stat.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
ok: [kangapestcontrol.com] => {
"changed": false,
"invocation": {
"module_args": {
"checksum_algorithm": "sha1",
"follow": false,
"get_checksum": true,
"get_md5": true,
"mime": false,
"path": "/srv/www/kangapestcontrol.com/shared/source/site"
},
"module_name": "stat"
},
"stat": {
"atime": 1492026697.469544,
"ctime": 1492026697.5455472,
"dev": 64769,
"executable": true,
"exists": true,
"gid": 33,
"gr_name": "www-data",
"inode": 514962,
"isblk": false,
"ischr": false,
"isdir": true,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": false,
"issock": false,
"isuid": false,
"mode": "0755",
"mtime": 1492026697.5455472,
"nlink": 6,
"path": "/srv/www/kangapestcontrol.com/shared/source/site",
"pw_name": "web",
"readable": true,
"rgrp": true,
"roth": true,
"rusr": true,
"size": 4096,
"uid": 1000,
"wgrp": false,
"woth": false,
"writeable": true,
"wusr": true,
"xgrp": true,
"xoth": true,
"xusr": true
}
}
TASK [deploy : Fail if repo_subtree_path is set incorrectly] *******************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:19
skipping: [kangapestcontrol.com] => {
"changed": false,
"skip_reason": "Conditional check failed",
"skipped": true
}
TASK [deploy : Create new release dir] *****************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:24
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/file.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
changed: [kangapestcontrol.com] => {
"changed": true,
"diff": {
"after": {
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118",
"state": "directory"
},
"before": {
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118",
"state": "absent"
}
},
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"backup": null,
"content": null,
"delimiter": null,
"diff_peek": null,
"directory_mode": null,
"follow": false,
"force": false,
"group": null,
"mode": null,
"original_basename": null,
"owner": null,
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null,
"validate": null
},
"module_name": "file"
},
"mode": "0755",
"owner": "web",
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118",
"size": 4096,
"state": "directory",
"uid": 1000
}
TASK [deploy : Run git archive to populate new build dir] **********************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:29
skipping: [kangapestcontrol.com] => {
"changed": false,
"skip_reason": "Conditional check failed",
"skipped": true
}
TASK [deploy : Run git archive with subdirectory to populate new build dir] ****
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:35
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
changed: [kangapestcontrol.com] => {
"changed": true,
"cmd": "git archive master site | tar -x --strip-components 1 -f - -C /srv/www/kangapestcontrol.com/releases/20170412195118",
"delta": "0:00:00.093779",
"end": "2017-04-12 19:51:44.046702",
"invocation": {
"module_args": {
"_raw_params": "git archive master site | tar -x --strip-components 1 -f - -C /srv/www/kangapestcontrol.com/releases/20170412195118",
"_uses_shell": true,
"chdir": "/srv/www/kangapestcontrol.com/shared/source",
"creates": null,
"executable": null,
"removes": null,
"warn": true
},
"module_name": "command"
},
"rc": 0,
"start": "2017-04-12 19:51:43.952923",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
}
TASK [deploy : include] ********************************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:41
TASK [deploy : include] ********************************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/build.yml:2
included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy-hooks/build-before.yml for kangapestcontrol.com
TASK [deploy : Run npm install] ************************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy-hooks/build-before.yml:42
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
<kangapestcontrol.com> ESTABLISH LOCAL CONNECTION FOR USER: spencerhill
<kangapestcontrol.com> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
changed: [kangapestcontrol.com] => {
"changed": true,
"cmd": [
"npm",
"install"
],
"delta": "0:01:32.015704",
"end": "2017-04-12 12:53:19.020765",
"invocation": {
"module_args": {
"_raw_params": "npm install",
"_uses_shell": false,
"chdir": "../site/web/app/themes/kanga-pest-control-2017",
"creates": null,
"executable": null,
"removes": null,
"warn": true
},
"module_name": "command"
},
"rc": 0,
"start": "2017-04-12 12:51:47.005061",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
}
TASK [deploy : Run bower install] **********************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy-hooks/build-before.yml:48
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
<kangapestcontrol.com> ESTABLISH LOCAL CONNECTION FOR USER: spencerhill
<kangapestcontrol.com> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
changed: [kangapestcontrol.com] => {
"changed": true,
"cmd": [
"bower",
"install"
],
"delta": "0:00:06.455458",
"end": "2017-04-12 12:53:26.637335",
"invocation": {
"module_args": {
"_raw_params": "bower install",
"_uses_shell": false,
"chdir": "../site/web/app/themes/kanga-pest-control-2017",
"creates": null,
"executable": null,
"removes": null,
"warn": true
},
"module_name": "command"
},
"rc": 0,
"start": "2017-04-12 12:53:20.181877",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
}
TASK [deploy : Run gulp] *******************************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy-hooks/build-before.yml:54
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
<kangapestcontrol.com> ESTABLISH LOCAL CONNECTION FOR USER: spencerhill
<kangapestcontrol.com> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
changed: [kangapestcontrol.com] => {
"changed": true,
"cmd": [
"gulp",
"--production"
],
"delta": "0:00:43.428939",
"end": "2017-04-12 12:54:11.228939",
"invocation": {
"module_args": {
"_raw_params": "gulp --production",
"_uses_shell": false,
"chdir": "../site/web/app/themes/kanga-pest-control-2017",
"creates": null,
"executable": null,
"removes": null,
"warn": true
},
"module_name": "command"
},
"rc": 0,
"start": "2017-04-12 12:53:27.800000",
"stderr": "",
"stdout": "[12:53:37] Using gulpfile ~/Sites/kangapestcontrol.com/site/web/app/themes/kanga-pest-control-2017/gulpfile.js\n[12:53:37] Starting 'clean'...\n[12:53:37] Finished 'clean' after 104 ms\n[12:53:37] Starting 'default'...\n[12:53:37] Starting 'build'...\n[12:53:37] Starting 'wiredep'...\n[12:53:38] Finished 'default' after 603 ms\n[12:53:38] Finished 'wiredep' after 754 ms\n[12:53:38] Starting 'styles'...\n[12:53:54] Finished 'styles' after 16 s\n[12:53:54] Starting 'jshint'...\n[12:53:54] Finished 'jshint' after 406 ms\n[12:53:54] Starting 'scripts'...\n[12:54:10] Finished 'scripts' after 16 s\n[12:54:10] Starting 'fonts'...\n[12:54:10] Starting 'images'...\n[12:54:10] gulp-imagemin: Minified 8 images (saved 0 B - 0%)\n[12:54:10] Finished 'images' after 521 ms\n[12:54:11] Finished 'fonts' after 754 ms\n[12:54:11] Finished 'build' after 33 s",
"stdout_lines": [
"[12:53:37] Using gulpfile ~/Sites/kangapestcontrol.com/site/web/app/themes/kanga-pest-control-2017/gulpfile.js",
"[12:53:37] Starting 'clean'...",
"[12:53:37] Finished 'clean' after 104 ms",
"[12:53:37] Starting 'default'...",
"[12:53:37] Starting 'build'...",
"[12:53:37] Starting 'wiredep'...",
"[12:53:38] Finished 'default' after 603 ms",
"[12:53:38] Finished 'wiredep' after 754 ms",
"[12:53:38] Starting 'styles'...",
"[12:53:54] Finished 'styles' after 16 s",
"[12:53:54] Starting 'jshint'...",
"[12:53:54] Finished 'jshint' after 406 ms",
"[12:53:54] Starting 'scripts'...",
"[12:54:10] Finished 'scripts' after 16 s",
"[12:54:10] Starting 'fonts'...",
"[12:54:10] Starting 'images'...",
"[12:54:10] gulp-imagemin: Minified 8 images (saved 0 B - 0%)",
"[12:54:10] Finished 'images' after 521 ms",
"[12:54:11] Finished 'fonts' after 754 ms",
"[12:54:11] Finished 'build' after 33 s"
],
"warnings": []
}
TASK [deploy : Copy project local files] ***************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy-hooks/build-before.yml:60
File lookup using /Users/spencerhill/.ssh/id_rsa.pub as file
File lookup using /Users/spencerhill/.ssh/id_rsa.pub as file
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/synchronize.py
<kangapestcontrol.com> ESTABLISH LOCAL CONNECTION FOR USER: spencerhill
<kangapestcontrol.com> EXEC /bin/sh -c '/usr/local/opt/python/bin/python2.7 && sleep 0'
changed: [kangapestcontrol.com] => {
"changed": true,
"cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --no-owner --no-group --rsh 'ssh -S none -o StrictHostKeyChecking=no' --chmod=Du=rwx --chmod=Dg=rx --chmod=Do=rx --chmod=Fu=rw --chmod=Fg=r --chmod=Fo=r --out-format='<<CHANGED>>%i %n%L' \"/Users/spencerhill/Sites/kangapestcontrol.com/site/web/app/themes/kanga-pest-control-2017/dist\" \"[email protected]:/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/themes/kanga-pest-control-2017\"",
"invocation": {
"module_args": {
"_local_rsync_path": "rsync",
"_substitute_controller": false,
"archive": true,
"checksum": false,
"compress": true,
"copy_links": null,
"delete": false,
"dest": "[email protected]:/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/themes/kanga-pest-control-2017",
"dest_port": null,
"dirs": false,
"existing_only": false,
"group": false,
"links": null,
"mode": "push",
"owner": false,
"partial": false,
"perms": null,
"private_key": null,
"recursive": null,
"rsync_opts": [
"--chmod=Du=rwx",
"--chmod=Dg=rx",
"--chmod=Do=rx",
"--chmod=Fu=rw",
"--chmod=Fg=r",
"--chmod=Fo=r"
],
"rsync_path": null,
"rsync_timeout": 0,
"set_remote_user": true,
"src": "/Users/spencerhill/Sites/kangapestcontrol.com/site/web/app/themes/kanga-pest-control-2017/dist",
"ssh_args": null,
"times": null,
"verify_host": false
}
},
"msg": "cd+++++++ dist/\n<f+++++++ dist/assets.json\ncd+++++++ dist/fonts/\n<f+++++++ dist/fonts/Avenir-Black.eot\n<f+++++++ dist/fonts/Avenir-Black.ttf\n<f+++++++ dist/fonts/Avenir-Black.woff\n<f+++++++ dist/fonts/Avenir-BlackOblique.eot\n<f+++++++ dist/fonts/Avenir-BlackOblique.ttf\n<f+++++++ dist/fonts/Avenir-BlackOblique.woff\n<f+++++++ dist/fonts/Avenir-Book.eot\n<f+++++++ dist/fonts/Avenir-Book.ttf\n<f+++++++ dist/fonts/Avenir-Book.woff\n<f+++++++ dist/fonts/Avenir-BookOblique.eot\n<f+++++++ dist/fonts/Avenir-BookOblique.ttf\n<f+++++++ dist/fonts/Avenir-BookOblique.woff\n<f+++++++ dist/fonts/Avenir-Heavy.eot\n<f+++++++ dist/fonts/Avenir-Heavy.ttf\n<f+++++++ dist/fonts/Avenir-Heavy.woff\n<f+++++++ dist/fonts/Avenir-HeavyOblique.eot\n<f+++++++ dist/fonts/Avenir-HeavyOblique.ttf\n<f+++++++ dist/fonts/Avenir-HeavyOblique.woff\n<f+++++++ dist/fonts/Avenir-Light.eot\n<f+++++++ dist/fonts/Avenir-Light.ttf\n<f+++++++ dist/fonts/Avenir-Light.woff\n<f+++++++ dist/fonts/Avenir-LightOblique.eot\n<f+++++++ dist/fonts/Avenir-LightOblique.ttf\n<f+++++++ dist/fonts/Avenir-LightOblique.woff\n<f+++++++ dist/fonts/Avenir-Medium.eot\n<f+++++++ dist/fonts/Avenir-Medium.ttf\n<f+++++++ dist/fonts/Avenir-Medium.woff\n<f+++++++ dist/fonts/Avenir-MediumOblique.eot\n<f+++++++ dist/fonts/Avenir-MediumOblique.ttf\n<f+++++++ dist/fonts/Avenir-MediumOblique.woff\n<f+++++++ dist/fonts/Avenir-Oblique.eot\n<f+++++++ dist/fonts/Avenir-Oblique.ttf\n<f+++++++ dist/fonts/Avenir-Oblique.woff\n<f+++++++ dist/fonts/Avenir-Roman.eot\n<f+++++++ dist/fonts/Avenir-Roman.ttf\n<f+++++++ dist/fonts/Avenir-Roman.woff\n<f+++++++ dist/fonts/FontAwesome.otf\n<f+++++++ dist/fonts/Oswald-Bold.otf\n<f+++++++ dist/fonts/Oswald-Light.otf\n<f+++++++ dist/fonts/Oswald-Regular.otf\n<f+++++++ dist/fonts/fontawesome-webfont.eot\n<f+++++++ dist/fonts/fontawesome-webfont.svg\n<f+++++++ dist/fonts/fontawesome-webfont.ttf\n<f+++++++ dist/fonts/fontawesome-webfont.woff\n<f+++++++ dist/fonts/fontawesome-webfont.woff2\n<f+++++++ dist/fonts/oswald-bold-webfont.woff\n<f+++++++ dist/fonts/oswald-bold-webfont.woff2\n<f+++++++ dist/fonts/oswald-light-webfont.woff\n<f+++++++ dist/fonts/oswald-light-webfont.woff2\n<f+++++++ dist/fonts/oswald-regular-webfont.woff\n<f+++++++ dist/fonts/oswald-regular-webfont.woff2\ncd+++++++ dist/images/\n<f+++++++ dist/images/front-page-header.png\n<f+++++++ dist/images/kanga-pest-control-logo.png\n<f+++++++ dist/images/kpc-aphid-removal-icon.png\n<f+++++++ dist/images/kpc-lawn-grubs-icon.png\n<f+++++++ dist/images/kpc-our-services-background-image.png\n<f+++++++ dist/images/kpc-pest-control-icon.png\n<f+++++++ dist/images/kpc-rodent-removal-icon.png\n<f+++++++ dist/images/kpc-termite-extermination-icon.png\ncd+++++++ dist/scripts/\n<f+++++++ dist/scripts/customizer-2d71a5cf56.js\n<f+++++++ dist/scripts/jquery-113701f71a.js\n<f+++++++ dist/scripts/main-5e52b3f295.js\ncd+++++++ dist/styles/\n<f+++++++ dist/styles/main-773c265d7f.css\n",
"rc": 0,
"stdout_lines": [
"cd+++++++ dist/",
"<f+++++++ dist/assets.json",
"cd+++++++ dist/fonts/",
"<f+++++++ dist/fonts/Avenir-Black.eot",
"<f+++++++ dist/fonts/Avenir-Black.ttf",
"<f+++++++ dist/fonts/Avenir-Black.woff",
"<f+++++++ dist/fonts/Avenir-BlackOblique.eot",
"<f+++++++ dist/fonts/Avenir-BlackOblique.ttf",
"<f+++++++ dist/fonts/Avenir-BlackOblique.woff",
"<f+++++++ dist/fonts/Avenir-Book.eot",
"<f+++++++ dist/fonts/Avenir-Book.ttf",
"<f+++++++ dist/fonts/Avenir-Book.woff",
"<f+++++++ dist/fonts/Avenir-BookOblique.eot",
"<f+++++++ dist/fonts/Avenir-BookOblique.ttf",
"<f+++++++ dist/fonts/Avenir-BookOblique.woff",
"<f+++++++ dist/fonts/Avenir-Heavy.eot",
"<f+++++++ dist/fonts/Avenir-Heavy.ttf",
"<f+++++++ dist/fonts/Avenir-Heavy.woff",
"<f+++++++ dist/fonts/Avenir-HeavyOblique.eot",
"<f+++++++ dist/fonts/Avenir-HeavyOblique.ttf",
"<f+++++++ dist/fonts/Avenir-HeavyOblique.woff",
"<f+++++++ dist/fonts/Avenir-Light.eot",
"<f+++++++ dist/fonts/Avenir-Light.ttf",
"<f+++++++ dist/fonts/Avenir-Light.woff",
"<f+++++++ dist/fonts/Avenir-LightOblique.eot",
"<f+++++++ dist/fonts/Avenir-LightOblique.ttf",
"<f+++++++ dist/fonts/Avenir-LightOblique.woff",
"<f+++++++ dist/fonts/Avenir-Medium.eot",
"<f+++++++ dist/fonts/Avenir-Medium.ttf",
"<f+++++++ dist/fonts/Avenir-Medium.woff",
"<f+++++++ dist/fonts/Avenir-MediumOblique.eot",
"<f+++++++ dist/fonts/Avenir-MediumOblique.ttf",
"<f+++++++ dist/fonts/Avenir-MediumOblique.woff",
"<f+++++++ dist/fonts/Avenir-Oblique.eot",
"<f+++++++ dist/fonts/Avenir-Oblique.ttf",
"<f+++++++ dist/fonts/Avenir-Oblique.woff",
"<f+++++++ dist/fonts/Avenir-Roman.eot",
"<f+++++++ dist/fonts/Avenir-Roman.ttf",
"<f+++++++ dist/fonts/Avenir-Roman.woff",
"<f+++++++ dist/fonts/FontAwesome.otf",
"<f+++++++ dist/fonts/Oswald-Bold.otf",
"<f+++++++ dist/fonts/Oswald-Light.otf",
"<f+++++++ dist/fonts/Oswald-Regular.otf",
"<f+++++++ dist/fonts/fontawesome-webfont.eot",
"<f+++++++ dist/fonts/fontawesome-webfont.svg",
"<f+++++++ dist/fonts/fontawesome-webfont.ttf",
"<f+++++++ dist/fonts/fontawesome-webfont.woff",
"<f+++++++ dist/fonts/fontawesome-webfont.woff2",
"<f+++++++ dist/fonts/oswald-bold-webfont.woff",
"<f+++++++ dist/fonts/oswald-bold-webfont.woff2",
"<f+++++++ dist/fonts/oswald-light-webfont.woff",
"<f+++++++ dist/fonts/oswald-light-webfont.woff2",
"<f+++++++ dist/fonts/oswald-regular-webfont.woff",
"<f+++++++ dist/fonts/oswald-regular-webfont.woff2",
"cd+++++++ dist/images/",
"<f+++++++ dist/images/front-page-header.png",
"<f+++++++ dist/images/kanga-pest-control-logo.png",
"<f+++++++ dist/images/kpc-aphid-removal-icon.png",
"<f+++++++ dist/images/kpc-lawn-grubs-icon.png",
"<f+++++++ dist/images/kpc-our-services-background-image.png",
"<f+++++++ dist/images/kpc-pest-control-icon.png",
"<f+++++++ dist/images/kpc-rodent-removal-icon.png",
"<f+++++++ dist/images/kpc-termite-extermination-icon.png",
"cd+++++++ dist/scripts/",
"<f+++++++ dist/scripts/customizer-2d71a5cf56.js",
"<f+++++++ dist/scripts/jquery-113701f71a.js",
"<f+++++++ dist/scripts/main-5e52b3f295.js",
"cd+++++++ dist/styles/",
"<f+++++++ dist/styles/main-773c265d7f.css"
]
}
TASK [deploy : Copy project templates] *****************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/build.yml:8
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo ~/.ansible/tmp/ansible-tmp-1492026859.73-258707280059297 `" && echo ansible-tmp-1492026859.73-258707280059297="` echo ~/.ansible/tmp/ansible-tmp-1492026859.73-258707280059297 `" ) && sleep 0'"'"''
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/stat.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
<kangapestcontrol.com> PUT /var/folders/v9/1vn77mnd3q359_85w2xt41fw0000gq/T/tmp92J5Dv TO /home/web/.ansible/tmp/ansible-tmp-1492026859.73-258707280059297/source
<kangapestcontrol.com> SSH: EXEC sftp -b - -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 '[kangapestcontrol.com]'
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'chmod u+x /home/web/.ansible/tmp/ansible-tmp-1492026859.73-258707280059297/ /home/web/.ansible/tmp/ansible-tmp-1492026859.73-258707280059297/source && sleep 0'"'"''
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/copy.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'rm -f -r /home/web/.ansible/tmp/ansible-tmp-1492026859.73-258707280059297/ > /dev/null 2>&1 && sleep 0'"'"''
changed: [kangapestcontrol.com] => (item={u'dest': u'.env', u'src': u'roles/deploy/templates/env.j2', u'name': u'.env config'}) => {
"changed": true,
"checksum": "ee576d50686fa15ef540bd765b91f880dc84d57c",
"dest": "/srv/www/kangapestcontrol.com/releases/20170412195118/.env",
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"backup": false,
"content": null,
"delimiter": null,
"dest": "/srv/www/kangapestcontrol.com/releases/20170412195118/.env",
"directory_mode": null,
"follow": true,
"force": true,
"group": null,
"mode": "0644",
"original_basename": "env.j2",
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/home/web/.ansible/tmp/ansible-tmp-1492026859.73-258707280059297/source",
"unsafe_writes": null,
"validate": null
}
},
"item": {
"dest": ".env",
"name": ".env config",
"src": "roles/deploy/templates/env.j2"
},
"md5sum": "7788974eb83587bbb7b0a046022dddbc",
"mode": "0644",
"owner": "web",
"size": 1019,
"src": "/home/web/.ansible/tmp/ansible-tmp-1492026859.73-258707280059297/source",
"state": "file",
"uid": 1000
}
TASK [deploy : Check if project folders exist] *********************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/build.yml:15
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/stat.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
ok: [kangapestcontrol.com] => (item=vendor) => {
"changed": false,
"invocation": {
"module_args": {
"checksum_algorithm": "sha1",
"follow": false,
"get_checksum": true,
"get_md5": true,
"mime": false,
"path": "/srv/www/kangapestcontrol.com/current/vendor"
},
"module_name": "stat"
},
"item": "vendor",
"stat": {
"exists": false
}
}
TASK [deploy : Copy project folders] *******************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/build.yml:21
skipping: [kangapestcontrol.com] => (item={u'_ansible_parsed': True, u'stat': {u'exists': False}, u'changed': False, u'_ansible_no_log': False, u'_ansible_item_result': True, u'item': u'vendor', u'invocation': {u'module_name': u'stat', u'module_args': {u'checksum_algorithm': u'sha1', u'mime': False, u'get_checksum': True, u'follow': False, u'path': u'/srv/www/kangapestcontrol.com/current/vendor', u'get_md5': True}}}) => {
"changed": false,
"item": {
"changed": false,
"invocation": {
"module_args": {
"checksum_algorithm": "sha1",
"follow": false,
"get_checksum": true,
"get_md5": true,
"mime": false,
"path": "/srv/www/kangapestcontrol.com/current/vendor"
},
"module_name": "stat"
},
"item": "vendor",
"stat": {
"exists": false
}
},
"skip_reason": "Conditional check failed",
"skipped": true
}
TASK [deploy : include] ********************************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/build.yml:26
included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/build-after.yml for kangapestcontrol.com
TASK [deploy : Check for composer.json in project root or project_subtree_path]
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/build-after.yml:2
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/stat.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
ok: [kangapestcontrol.com] => {
"changed": false,
"invocation": {
"module_args": {
"checksum_algorithm": "sha1",
"follow": false,
"get_checksum": true,
"get_md5": true,
"mime": false,
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118/composer.json"
},
"module_name": "stat"
},
"stat": {
"atime": 1492026703.9578114,
"checksum": "0a2409bd8c24d2751ab00fe7025834fed2452d5c",
"ctime": 1492026703.9578114,
"dev": 64769,
"executable": false,
"exists": true,
"gid": 33,
"gr_name": "www-data",
"inode": 515633,
"isblk": false,
"ischr": false,
"isdir": false,
"isfifo": false,
"isgid": false,
"islnk": false,
"isreg": true,
"issock": false,
"isuid": false,
"md5": "cf5493ffd92b17d39d9f20a2ebc1e21e",
"mode": "0644",
"mtime": 1491964908.0,
"nlink": 1,
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118/composer.json",
"pw_name": "web",
"readable": true,
"rgrp": true,
"roth": true,
"rusr": true,
"size": 2884,
"uid": 1000,
"wgrp": false,
"woth": false,
"writeable": true,
"wusr": true,
"xgrp": false,
"xoth": false,
"xusr": false
}
}
TASK [deploy : Fail if composer.json not found] ********************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/build-after.yml:7
skipping: [kangapestcontrol.com] => {
"changed": false,
"skip_reason": "Conditional check failed",
"skipped": true
}
TASK [deploy : Setup packagist.com authentication] *****************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/build-after.yml:12
skipping: [kangapestcontrol.com] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
TASK [deploy : Install Composer dependencies] **********************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/build-after.yml:20
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/extras/packaging/language/composer.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
changed: [kangapestcontrol.com] => {
"changed": true,
"invocation": {
"module_args": {
"arguments": "",
"command": "install",
"ignore_platform_reqs": false,
"no_dev": true,
"no_plugins": false,
"no_scripts": true,
"optimize_autoloader": true,
"prefer_dist": false,
"prefer_source": false,
"working_dir": "/srv/www/kangapestcontrol.com/releases/20170412195118"
},
"module_name": "composer"
},
"msg": "Loading composer repositories with package information Installing dependencies from lock file Package operations: 23 installs, 0 updates, 0 removals - Installing composer/installers (v1.2.0): Downloading (100%) - Installing johnpbloch/wordpress-core-installer (0.2.1): Downloading (100%) - Installing vlucas/phpdotenv (v2.4.0): Downloading (100%) - Installing philippbaschke/acf-pro-installer (v1.0.2): Downloading (100%) - Installing advanced-custom-fields/advanced-custom-fields-pro (5.5.11): Downloading (100%) - Installing johnpbloch/wordpress-core (4.7.3): Downloading (100%) - Installing johnpbloch/wordpress (4.7.3): Downloading (100%) - Installing oscarotero/env (v1.0.2): Downloading (100%) - Installing roots/wp-password-bcrypt (1.0.0): Downloading (100%) - Installing wpackagist-plugin/acf-front-end-form-extension (dev-trunk): Downloading (100%) - Installing wpackagist-plugin/adminimize (dev-trunk): Downloading (100%) - Installing wpackagist-plugin/advanced-custom-fields (dev-trunk): Downloading (100%) - Installing wpackagist-plugin/advanced-custom-fields-font-awesome (dev-trunk): Downloading (100%) - Installing wpackagist-plugin/custom-post-type-ui (dev-trunk): Downloading (100%) - Installing wpackagist-plugin/duracelltomi-google-tag-manager (dev-trunk): Downloading (100%) - Installing wpackagist-plugin/eps-301-redirects (dev-trunk): Downloading (100%) - Installing wpackagist-plugin/force-strong-passwords (dev-trunk): Downloading (100%) - Installing wpackagist-plugin/revisr (dev-trunk): Downloading (100%) - Installing wpackagist-plugin/shiftnav-responsive-mobile-menu (dev-trunk): Downloading (100%) - Installing wpackagist-plugin/shortcode-widget (dev-trunk): Downloading (100%) - Installing wpackagist-plugin/user-role-editor (dev-trunk): Downloading (100%) - Installing wpackagist-plugin/woocommerce (dev-trunk): Downloading (100%) - Installing wpackagist-plugin/wysija-newsletters (dev-trunk): Downloading (100%) Generating optimized autoload files",
"stdout": "Loading composer repositories with package information\nInstalling dependencies from lock file\nPackage operations: 23 installs, 0 updates, 0 removals\n - Installing composer/installers (v1.2.0): Downloading (100%)\n - Installing johnpbloch/wordpress-core-installer (0.2.1): Downloading (100%)\n - Installing vlucas/phpdotenv (v2.4.0): Downloading (100%)\n - Installing philippbaschke/acf-pro-installer (v1.0.2): Downloading (100%)\n - Installing advanced-custom-fields/advanced-custom-fields-pro (5.5.11): Downloading (100%)\n - Installing johnpbloch/wordpress-core (4.7.3): Downloading (100%)\n - Installing johnpbloch/wordpress (4.7.3): Downloading (100%)\n - Installing oscarotero/env (v1.0.2): Downloading (100%)\n - Installing roots/wp-password-bcrypt (1.0.0): Downloading (100%)\n - Installing wpackagist-plugin/acf-front-end-form-extension (dev-trunk): Downloading (100%)\n - Installing wpackagist-plugin/adminimize (dev-trunk): Downloading (100%)\n - Installing wpackagist-plugin/advanced-custom-fields (dev-trunk): Downloading (100%)\n - Installing wpackagist-plugin/advanced-custom-fields-font-awesome (dev-trunk): Downloading (100%)\n - Installing wpackagist-plugin/custom-post-type-ui (dev-trunk): Downloading (100%)\n - Installing wpackagist-plugin/duracelltomi-google-tag-manager (dev-trunk): Downloading (100%)\n - Installing wpackagist-plugin/eps-301-redirects (dev-trunk): Downloading (100%)\n - Installing wpackagist-plugin/force-strong-passwords (dev-trunk): Downloading (100%)\n - Installing wpackagist-plugin/revisr (dev-trunk): Downloading (100%)\n - Installing wpackagist-plugin/shiftnav-responsive-mobile-menu (dev-trunk): Downloading (100%)\n - Installing wpackagist-plugin/shortcode-widget (dev-trunk): Downloading (100%)\n - Installing wpackagist-plugin/user-role-editor (dev-trunk): Downloading (100%)\n - Installing wpackagist-plugin/woocommerce (dev-trunk): Downloading (100%)\n - Installing wpackagist-plugin/wysija-newsletters (dev-trunk): Downloading (100%)\nGenerating optimized autoload files\n",
"stdout_lines": [
"Loading composer repositories with package information",
"Installing dependencies from lock file",
"Package operations: 23 installs, 0 updates, 0 removals",
" - Installing composer/installers (v1.2.0): Downloading (100%)",
" - Installing johnpbloch/wordpress-core-installer (0.2.1): Downloading (100%)",
" - Installing vlucas/phpdotenv (v2.4.0): Downloading (100%)",
" - Installing philippbaschke/acf-pro-installer (v1.0.2): Downloading (100%)",
" - Installing advanced-custom-fields/advanced-custom-fields-pro (5.5.11): Downloading (100%)",
" - Installing johnpbloch/wordpress-core (4.7.3): Downloading (100%)",
" - Installing johnpbloch/wordpress (4.7.3): Downloading (100%)",
" - Installing oscarotero/env (v1.0.2): Downloading (100%)",
" - Installing roots/wp-password-bcrypt (1.0.0): Downloading (100%)",
" - Installing wpackagist-plugin/acf-front-end-form-extension (dev-trunk): Downloading (100%)",
" - Installing wpackagist-plugin/adminimize (dev-trunk): Downloading (100%)",
" - Installing wpackagist-plugin/advanced-custom-fields (dev-trunk): Downloading (100%)",
" - Installing wpackagist-plugin/advanced-custom-fields-font-awesome (dev-trunk): Downloading (100%)",
" - Installing wpackagist-plugin/custom-post-type-ui (dev-trunk): Downloading (100%)",
" - Installing wpackagist-plugin/duracelltomi-google-tag-manager (dev-trunk): Downloading (100%)",
" - Installing wpackagist-plugin/eps-301-redirects (dev-trunk): Downloading (100%)",
" - Installing wpackagist-plugin/force-strong-passwords (dev-trunk): Downloading (100%)",
" - Installing wpackagist-plugin/revisr (dev-trunk): Downloading (100%)",
" - Installing wpackagist-plugin/shiftnav-responsive-mobile-menu (dev-trunk): Downloading (100%)",
" - Installing wpackagist-plugin/shortcode-widget (dev-trunk): Downloading (100%)",
" - Installing wpackagist-plugin/user-role-editor (dev-trunk): Downloading (100%)",
" - Installing wpackagist-plugin/woocommerce (dev-trunk): Downloading (100%)",
" - Installing wpackagist-plugin/wysija-newsletters (dev-trunk): Downloading (100%)",
"Generating optimized autoload files"
]
}
TASK [deploy : include] ********************************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:2
TASK [deploy : Ensure shared sources are present -- directories] ***************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:8
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/file.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
changed: [kangapestcontrol.com] => (item={u'path': u'web/app/uploads', u'src': u'uploads'}) => {
"changed": true,
"diff": {
"after": {
"path": "/srv/www/kangapestcontrol.com/shared/uploads",
"state": "directory"
},
"before": {
"path": "/srv/www/kangapestcontrol.com/shared/uploads",
"state": "absent"
}
},
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"backup": null,
"content": null,
"delimiter": null,
"diff_peek": null,
"directory_mode": null,
"follow": false,
"force": false,
"group": null,
"mode": "0755",
"original_basename": null,
"owner": null,
"path": "/srv/www/kangapestcontrol.com/shared/uploads",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null,
"validate": null
},
"module_name": "file"
},
"item": {
"path": "web/app/uploads",
"src": "uploads"
},
"mode": "0755",
"owner": "web",
"path": "/srv/www/kangapestcontrol.com/shared/uploads",
"size": 4096,
"state": "directory",
"uid": 1000
}
TASK [deploy : Ensure shared sources are present -- files' parent directories] *
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:16
skipping: [kangapestcontrol.com] => (item={u'path': u'web/app/uploads', u'src': u'uploads'}) => {
"changed": false,
"item": {
"path": "web/app/uploads",
"src": "uploads"
},
"skip_reason": "Conditional check failed",
"skipped": true
}
TASK [deploy : Ensure shared sources are present -- files] *********************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:24
skipping: [kangapestcontrol.com] => (item={u'path': u'web/app/uploads', u'src': u'uploads'}) => {
"changed": false,
"item": {
"path": "web/app/uploads",
"src": "uploads"
},
"skip_reason": "Conditional check failed",
"skipped": true
}
TASK [deploy : Ensure parent directories for shared paths are present] *********
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:32
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/file.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
ok: [kangapestcontrol.com] => (item={u'path': u'web/app/uploads', u'src': u'uploads'}) => {
"changed": false,
"diff": {
"after": {
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app"
},
"before": {
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app"
}
},
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"backup": null,
"content": null,
"delimiter": null,
"diff_peek": null,
"directory_mode": null,
"follow": false,
"force": false,
"group": null,
"mode": null,
"original_basename": null,
"owner": null,
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "directory",
"unsafe_writes": null,
"validate": null
},
"module_name": "file"
},
"item": {
"path": "web/app/uploads",
"src": "uploads"
},
"mode": "0755",
"owner": "web",
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app",
"size": 4096,
"state": "directory",
"uid": 1000
}
TASK [deploy : Ensure shared paths are absent] *********************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:38
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/file.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
changed: [kangapestcontrol.com] => (item={u'path': u'web/app/uploads', u'src': u'uploads'}) => {
"changed": true,
"diff": {
"after": {
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
"state": "absent"
},
"before": {
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
"state": "directory"
}
},
"invocation": {
"module_args": {
"backup": null,
"content": null,
"delimiter": null,
"diff_peek": null,
"directory_mode": null,
"follow": false,
"force": false,
"group": null,
"mode": null,
"original_basename": null,
"owner": null,
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"state": "absent",
"unsafe_writes": null,
"validate": null
},
"module_name": "file"
},
"item": {
"path": "web/app/uploads",
"src": "uploads"
},
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
"state": "absent"
}
TASK [deploy : Create shared symlinks] *****************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:44
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/file.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
changed: [kangapestcontrol.com] => (item={u'path': u'web/app/uploads', u'src': u'uploads'}) => {
"changed": true,
"dest": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
"diff": {
"after": {
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
"state": "link"
},
"before": {
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
"state": "absent"
}
},
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"backup": null,
"content": null,
"delimiter": null,
"diff_peek": null,
"directory_mode": null,
"follow": false,
"force": false,
"group": null,
"mode": null,
"original_basename": null,
"owner": null,
"path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
"recurse": false,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/srv/www/kangapestcontrol.com/shared/uploads",
"state": "link",
"unsafe_writes": null,
"validate": null
},
"module_name": "file"
},
"item": {
"path": "web/app/uploads",
"src": "uploads"
},
"mode": "0777",
"owner": "web",
"size": 44,
"src": "/srv/www/kangapestcontrol.com/shared/uploads",
"state": "link",
"uid": 1000
}
TASK [deploy : include] ********************************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:51
TASK [deploy : include] ********************************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/finalize.yml:2
included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-before.yml for kangapestcontrol.com
TASK [deploy : Create file with multisite constants defined as false] **********
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-before.yml:2
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/stat.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo ~/.ansible/tmp/ansible-tmp-1492026886.25-22956772163306 `" && echo ansible-tmp-1492026886.25-22956772163306="` echo ~/.ansible/tmp/ansible-tmp-1492026886.25-22956772163306 `" ) && sleep 0'"'"''
<kangapestcontrol.com> PUT /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/files/tmp_multisite_constants.php TO /home/web/.ansible/tmp/ansible-tmp-1492026886.25-22956772163306/source
<kangapestcontrol.com> SSH: EXEC sftp -b - -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 '[kangapestcontrol.com]'
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'chmod u+x /home/web/.ansible/tmp/ansible-tmp-1492026886.25-22956772163306/ /home/web/.ansible/tmp/ansible-tmp-1492026886.25-22956772163306/source && sleep 0'"'"''
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/copy.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python ; rm -rf "/home/web/.ansible/tmp/ansible-tmp-1492026886.25-22956772163306/" > /dev/null 2>&1 && sleep 0'"'"''
changed: [kangapestcontrol.com] => {
"changed": true,
"checksum": "8bb2a0204ac622d2fb2555504a365daf3e0a1de8",
"dest": "/srv/www/kangapestcontrol.com/shared/tmp_multisite_constants.php",
"gid": 33,
"group": "www-data",
"invocation": {
"module_args": {
"backup": false,
"content": null,
"delimiter": null,
"dest": "/srv/www/kangapestcontrol.com/shared/tmp_multisite_constants.php",
"directory_mode": null,
"follow": false,
"force": true,
"group": null,
"mode": null,
"original_basename": "tmp_multisite_constants.php",
"owner": null,
"regexp": null,
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": "/home/web/.ansible/tmp/ansible-tmp-1492026886.25-22956772163306/source",
"unsafe_writes": null,
"validate": null
}
},
"md5sum": "d06f446f60e9625acc75d599ae4fc930",
"mode": "0644",
"owner": "web",
"size": 202,
"src": "/home/web/.ansible/tmp/ansible-tmp-1492026886.25-22956772163306/source",
"state": "file",
"uid": 1000
}
TASK [deploy : WordPress Installed?] *******************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-before.yml:7
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
ok: [kangapestcontrol.com] => {
"changed": false,
"cmd": [
"wp",
"core",
"is-installed",
"--skip-plugins",
"--skip-themes",
"--require=/srv/www/kangapestcontrol.com/shared/tmp_multisite_constants.php"
],
"delta": "0:00:00.711223",
"end": "2017-04-12 19:54:48.770926",
"failed": false,
"failed_when_result": false,
"invocation": {
"module_args": {
"_raw_params": "wp core is-installed --skip-plugins --skip-themes --require=/srv/www/kangapestcontrol.com/shared/tmp_multisite_constants.php",
"_uses_shell": false,
"chdir": "/srv/www/kangapestcontrol.com/releases/20170412195118",
"creates": null,
"executable": null,
"removes": null,
"warn": true
},
"module_name": "command"
},
"rc": 1,
"start": "2017-04-12 19:54:48.059703",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
}
TASK [deploy : Finalize the deploy] ********************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/finalize.yml:8
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/extras/web_infrastructure/deploy_helper.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
changed: [kangapestcontrol.com] => {
"changed": true,
"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/kangapestcontrol.com",
"regexp": null,
"release": "20170412195118",
"releases_path": "releases",
"remote_src": null,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"shared_path": "shared",
"src": null,
"state": "finalize",
"unfinished_filename": "DEPLOY_UNFINISHED",
"unsafe_writes": null
},
"module_name": "deploy_helper"
},
"state": "finalize"
}
TASK [deploy : include] ********************************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/finalize.yml:15
included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-after.yml for kangapestcontrol.com
TASK [deploy : Update WP database] *********************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-after.yml:3
skipping: [kangapestcontrol.com] => {
"changed": false,
"skip_reason": "Conditional check failed",
"skipped": true
}
TASK [deploy : Warn about updating network database.] **************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-after.yml:9
skipping: [kangapestcontrol.com] => {
"changed": false,
"skip_reason": "Conditional check failed",
"skipped": true
}
TASK [deploy : Update WP network database] *************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-after.yml:14
skipping: [kangapestcontrol.com] => {
"changed": false,
"skip_reason": "Conditional check failed",
"skipped": true
}
TASK [deploy : Get WP theme template root] *************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-after.yml:20
skipping: [kangapestcontrol.com] => {
"changed": false,
"skip_reason": "Conditional check failed",
"skipped": true
}
TASK [deploy : Update WP theme paths] ******************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-after.yml:28
skipping: [kangapestcontrol.com] => (item=stylesheet_root) => {
"changed": false,
"item": "stylesheet_root",
"skip_reason": "Conditional check failed",
"skipped": true
}
skipping: [kangapestcontrol.com] => (item=template_root) => {
"changed": false,
"item": "template_root",
"skip_reason": "Conditional check failed",
"skipped": true
}
TASK [deploy : Reload php-fpm] *************************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-after.yml:39
Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
<kangapestcontrol.com> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -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 kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
changed: [kangapestcontrol.com] => {
"changed": true,
"cmd": "sudo service php7.1-fpm reload",
"delta": "0:00:00.048355",
"end": "2017-04-12 19:54:51.213565",
"invocation": {
"module_args": {
"_raw_params": "sudo service php7.1-fpm reload",
"_uses_shell": true,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"warn": false
},
"module_name": "command"
},
"rc": 0,
"start": "2017-04-12 19:54:51.165210",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []
}
TASK [deploy : debug] **********************************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/finalize.yml:21
master@0111fa9 deployed as release 20170412195118
ok: [kangapestcontrol.com] => {}
TASK [deploy : include] ********************************************************
task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/main.yml:15
PLAY RECAP *********************************************************************
kangapestcontrol.com : ok=31 changed=18 unreachable=0 failed=0
localhost : ok=0 changed=0 unreachable=0 failed=0
➜ trellis git:(master) ✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment