Advertisement
Guest User

Untitled

a guest
Apr 12th, 2017
862
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 108.38 KB | None | 0 0
  1. ➜ trellis git:(master) ✗ ansible-playbook deploy.yml -e env=production -e site=kangapestcontrol.com -vvvv
  2. Using /Users/spencerhill/Sites/kangapestcontrol.com/trellis/ansible.cfg as config file
  3. statically included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/initialize.yml
  4. statically included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml
  5. statically included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml
  6. statically included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/build.yml
  7. statically included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml
  8. statically included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/finalize.yml
  9. Loading callback plugin output of type stdout, v2.0 from /usr/local/lib/python2.7/site-packages/ansible/plugins/callback/__init__.pyc
  10.  
  11. PLAYBOOK: deploy.yml ***********************************************************
  12. 3 plays in deploy.yml
  13.  
  14. PLAY [Ensure necessary variables are defined] **********************************
  15.  
  16. TASK [Ensure environment is defined] *******************************************
  17. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/variable-check.yml:8
  18. skipping: [localhost] => {
  19. "changed": false,
  20. "skip_reason": "Conditional check failed",
  21. "skipped": true
  22. }
  23.  
  24. PLAY [Test Connection] *********************************************************
  25.  
  26. TASK [connection : Require manual definition of remote-user] *******************
  27. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:2
  28. skipping: [kangapestcontrol.com] => {
  29. "changed": false,
  30. "skip_reason": "Conditional check failed",
  31. "skipped": true
  32. }
  33.  
  34. TASK [connection : Specify preferred HostKeyAlgorithms for unknown hosts] ******
  35. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:9
  36. skipping: [kangapestcontrol.com] => {
  37. "changed": false,
  38. "skip_reason": "Conditional check failed",
  39. "skipped": true
  40. }
  41.  
  42. TASK [connection : Check whether Ansible can connect as web] *******************
  43. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:18
  44. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
  45. <localhost> ESTABLISH LOCAL CONNECTION FOR USER: spencerhill
  46. <localhost> EXEC /bin/sh -c '/usr/local/opt/python/bin/python2.7 && sleep 0'
  47. ok: [kangapestcontrol.com -> localhost] => {
  48. "changed": false,
  49. "cmd": [
  50. "ansible",
  51. "kangapestcontrol.com",
  52. "-m",
  53. "raw",
  54. "-a",
  55. "whoami",
  56. "-u",
  57. "web",
  58. "--ssh-extra-args=",
  59. "--connection=smart",
  60. "--timeout=10",
  61. "--inventory-file=hosts",
  62. "-vvvv"
  63. ],
  64. "delta": "0:00:04.696454",
  65. "end": "2017-04-12 12:50:58.453609",
  66. "failed": false,
  67. "failed_when_result": false,
  68. "invocation": {
  69. "module_args": {
  70. "_raw_params": "ansible kangapestcontrol.com -m raw -a whoami -u web\n --ssh-extra-args=\"\"\n --connection='smart' --timeout='10' --inventory-file='hosts' -vvvv",
  71. "_uses_shell": false,
  72. "chdir": null,
  73. "creates": null,
  74. "executable": null,
  75. "removes": null,
  76. "warn": true
  77. },
  78. "module_name": "command"
  79. },
  80. "rc": 0,
  81. "start": "2017-04-12 12:50:53.757155",
  82. "stderr": "",
  83. "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: ssh-ed25519-cert-v01@openssh.com,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,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c\r\ndebug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa\r\ndebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc\r\ndebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc\r\ndebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1\r\ndebug2: compression ctos: none,zlib@openssh.com,zlib\r\ndebug2: compression stoc: none,zlib@openssh.com,zlib\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug2: peer server KEXINIT proposal\r\ndebug2: KEX algorithms: curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256\r\ndebug2: host key algorithms: ssh-ed25519,ssh-rsa,rsa-sha2-512,rsa-sha2-256\r\ndebug2: ciphers ctos: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr\r\ndebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr\r\ndebug2: MACs ctos: hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160\r\ndebug2: MACs stoc: hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160\r\ndebug2: compression ctos: none,zlib@openssh.com\r\ndebug2: compression stoc: none,zlib@openssh.com\r\ndebug2: languages ctos: \r\ndebug2: languages stoc: \r\ndebug2: first_kex_follows 0 \r\ndebug2: reserved 0 \r\ndebug1: kex: algorithm: curve25519-sha256@libssh.org\r\ndebug1: kex: host key algorithm: ssh-ed25519\r\ndebug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none\r\ndebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none\r\ndebug3: send packet: type 30\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug3: receive packet: type 31\r\ndebug1: Server host key: ssh-ed25519 SHA256: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 hostkeys-00@openssh.com want_reply 0\r\ndebug3: receive packet: type 91\r\ndebug2: callback start\r\ndebug1: Requesting authentication agent forwarding.\r\ndebug2: channel 2: request auth-agent-req@openssh.com confirm 0\r\ndebug3: send packet: type 98\r\ndebug2: client_session2_setup: id 2\r\ndebug2: channel 2: request pty-req confirm 1\r\ndebug3: send packet: type 98\r\ndebug1: Sending command: whoami\r\ndebug2: channel 2: request exec confirm 1\r\ndebug3: send packet: type 98\r\ndebug3: mux_session_confirm: sending success reply\r\ndebug2: callback done\r\ndebug2: channel 2: open confirm rwindow 0 rmax 32768\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 2\r\ndebug2: PTY allocation request accepted on channel 2\r\ndebug2: channel 2: rcvd adjust 2097152\r\ndebug3: receive packet: type 99\r\ndebug2: channel_input_status_confirm: type 99 id 2\r\ndebug2: exec request accepted on channel 2\r\ndebug3: receive packet: type 96\r\ndebug2: channel 2: rcvd eof\r\ndebug2: channel 2: output open -> drain\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 2 rtype exit-status reply 0\r\ndebug3: mux_exit_message: channel 2: exit message, exitval 0\r\ndebug3: receive packet: type 98\r\ndebug1: client_input_channel_req: channel 2 rtype eow@openssh.com reply 0\r\ndebug2: channel 2: rcvd eow\r\ndebug2: channel 2: close_read\r\ndebug2: channel 2: input open -> closed\r\ndebug3: receive packet: type 97\r\ndebug2: channel 2: rcvd close\r\ndebug3: channel 2: will not send data after close\r\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",
  84. "stdout_lines": [
  85. "Using /Users/spencerhill/Sites/kangapestcontrol.com/trellis/ansible.cfg as config file",
  86. "\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",
  87. "\u001b[0;34m<kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web\u001b[0m",
  88. "\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",
  89. "\u001b[0;32mkangapestcontrol.com | SUCCESS | rc=0 >>",
  90. "web",
  91. "OpenSSH_7.4p1, LibreSSL 2.5.0",
  92. "debug1: Reading configuration data /Users/spencerhill/.ssh/config",
  93. "debug1: Reading configuration data /etc/ssh/ssh_config",
  94. "debug1: auto-mux: Trying existing master",
  95. "debug1: Control socket \"/Users/spencerhill/.ansible/cp/ansible-ssh-kangapestcontrol.com-22-web\" does not exist",
  96. "debug2: resolving \"kangapestcontrol.com\" port 22",
  97. "debug2: ssh_connect_direct: needpriv 0",
  98. "debug1: Connecting to kangapestcontrol.com [192.241.208.108] port 22.",
  99. "debug2: fd 5 setting O_NONBLOCK",
  100. "debug1: fd 5 clearing O_NONBLOCK",
  101. "debug1: Connection established.",
  102. "debug3: timeout: 9958 ms remain after connect",
  103. "debug1: identity file /Users/spencerhill/.ssh/id_rsa type 1",
  104. "debug1: key_load_public: No such file or directory",
  105. "debug1: identity file /Users/spencerhill/.ssh/id_rsa-cert type -1",
  106. "debug1: key_load_public: No such file or directory",
  107. "debug1: identity file /Users/spencerhill/.ssh/id_dsa type -1",
  108. "debug1: key_load_public: No such file or directory",
  109. "debug1: identity file /Users/spencerhill/.ssh/id_dsa-cert type -1",
  110. "debug1: key_load_public: No such file or directory",
  111. "debug1: identity file /Users/spencerhill/.ssh/id_ecdsa type -1",
  112. "debug1: key_load_public: No such file or directory",
  113. "debug1: identity file /Users/spencerhill/.ssh/id_ecdsa-cert type -1",
  114. "debug1: key_load_public: No such file or directory",
  115. "debug1: identity file /Users/spencerhill/.ssh/id_ed25519 type -1",
  116. "debug1: key_load_public: No such file or directory",
  117. "debug1: identity file /Users/spencerhill/.ssh/id_ed25519-cert type -1",
  118. "debug1: Enabling compatibility mode for protocol 2.0",
  119. "debug1: Local version string SSH-2.0-OpenSSH_7.4",
  120. "debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2",
  121. "debug1: match: OpenSSH_7.2p2 pat OpenSSH* compat 0x04000000",
  122. "debug2: fd 5 setting O_NONBLOCK",
  123. "debug1: Authenticating to kangapestcontrol.com:22 as 'web'",
  124. "debug3: hostkeys_foreach: reading file \"/Users/spencerhill/.ssh/known_hosts\"",
  125. "debug3: record_hostkey: found key type ED25519 in file /Users/spencerhill/.ssh/known_hosts:3",
  126. "debug3: load_hostkeys: loaded 1 keys from kangapestcontrol.com",
  127. "debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-ed25519-cert-v01@openssh.com,ssh-ed25519",
  128. "debug3: send packet: type 20",
  129. "debug1: SSH2_MSG_KEXINIT sent",
  130. "debug3: receive packet: type 20",
  131. "debug1: SSH2_MSG_KEXINIT received",
  132. "debug2: local client KEXINIT proposal",
  133. "debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c",
  134. "debug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa",
  135. "debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc",
  136. "debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc",
  137. "debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1",
  138. "debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1",
  139. "debug2: compression ctos: none,zlib@openssh.com,zlib",
  140. "debug2: compression stoc: none,zlib@openssh.com,zlib",
  141. "debug2: languages ctos: ",
  142. "debug2: languages stoc: ",
  143. "debug2: first_kex_follows 0 ",
  144. "debug2: reserved 0 ",
  145. "debug2: peer server KEXINIT proposal",
  146. "debug2: KEX algorithms: curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256",
  147. "debug2: host key algorithms: ssh-ed25519,ssh-rsa,rsa-sha2-512,rsa-sha2-256",
  148. "debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr",
  149. "debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr",
  150. "debug2: MACs ctos: hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160",
  151. "debug2: MACs stoc: hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160",
  152. "debug2: compression ctos: none,zlib@openssh.com",
  153. "debug2: compression stoc: none,zlib@openssh.com",
  154. "debug2: languages ctos: ",
  155. "debug2: languages stoc: ",
  156. "debug2: first_kex_follows 0 ",
  157. "debug2: reserved 0 ",
  158. "debug1: kex: algorithm: curve25519-sha256@libssh.org",
  159. "debug1: kex: host key algorithm: ssh-ed25519",
  160. "debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none",
  161. "debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none",
  162. "debug3: send packet: type 30",
  163. "debug1: expecting SSH2_MSG_KEX_ECDH_REPLY",
  164. "debug3: receive packet: type 31",
  165. "debug1: Server host key: ssh-ed25519 SHA256:jWKp5WiGjaBQmEHX4iluB4Y5LX1reIPtR4nBUKgbzQo",
  166. "debug3: hostkeys_foreach: reading file \"/Users/spencerhill/.ssh/known_hosts\"",
  167. "debug3: record_hostkey: found key type ED25519 in file /Users/spencerhill/.ssh/known_hosts:3",
  168. "debug3: load_hostkeys: loaded 1 keys from kangapestcontrol.com",
  169. "debug3: hostkeys_foreach: reading file \"/Users/spencerhill/.ssh/known_hosts\"",
  170. "debug3: record_hostkey: found key type ED25519 in file /Users/spencerhill/.ssh/known_hosts:3",
  171. "debug3: load_hostkeys: loaded 1 keys from 192.241.208.108",
  172. "debug1: Host 'kangapestcontrol.com' is known and matches the ED25519 host key.",
  173. "debug1: Found key in /Users/spencerhill/.ssh/known_hosts:3",
  174. "debug3: send packet: type 21",
  175. "debug2: set_newkeys: mode 1",
  176. "debug1: rekey after 134217728 blocks",
  177. "debug1: SSH2_MSG_NEWKEYS sent",
  178. "debug1: expecting SSH2_MSG_NEWKEYS",
  179. "debug3: receive packet: type 21",
  180. "debug1: SSH2_MSG_NEWKEYS received",
  181. "debug2: set_newkeys: mode 0",
  182. "debug1: rekey after 134217728 blocks",
  183. "debug2: key: /Users/spencerhill/.ssh/id_rsa (0x7fc555d01f30), agent",
  184. "debug2: key: /Users/spencerhill/.ssh/id_dsa (0x0)",
  185. "debug2: key: /Users/spencerhill/.ssh/id_ecdsa (0x0)",
  186. "debug2: key: /Users/spencerhill/.ssh/id_ed25519 (0x0)",
  187. "debug3: send packet: type 5",
  188. "debug3: receive packet: type 7",
  189. "debug1: SSH2_MSG_EXT_INFO received",
  190. "debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>",
  191. "debug3: receive packet: type 6",
  192. "debug2: service_accept: ssh-userauth",
  193. "debug1: SSH2_MSG_SERVICE_ACCEPT received",
  194. "debug3: send packet: type 50",
  195. "debug3: receive packet: type 51",
  196. "debug1: Authentications that can continue: publickey",
  197. "debug3: start over, passed a different list publickey",
  198. "debug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey",
  199. "debug3: authmethod_lookup publickey",
  200. "debug3: remaining preferred: ,gssapi-keyex,hostbased,publickey",
  201. "debug3: authmethod_is_enabled publickey",
  202. "debug1: Next authentication method: publickey",
  203. "debug1: Offering RSA public key: /Users/spencerhill/.ssh/id_rsa",
  204. "debug3: send_pubkey_test",
  205. "debug3: send packet: type 50",
  206. "debug2: we sent a publickey packet, wait for reply",
  207. "debug3: receive packet: type 60",
  208. "debug1: Server accepts key: pkalg rsa-sha2-512 blen 279",
  209. "debug2: input_userauth_pk_ok: fp SHA256:KzkDq8g+izwamAwb4WcN+ebIwINf9xnmYMBPRpN7un0",
  210. "debug3: sign_and_send_pubkey: RSA SHA256:KzkDq8g+izwamAwb4WcN+ebIwINf9xnmYMBPRpN7un0",
  211. "debug3: send packet: type 50",
  212. "debug3: receive packet: type 52",
  213. "debug1: Authentication succeeded (publickey).",
  214. "Authenticated to kangapestcontrol.com ([192.241.208.108]:22).",
  215. "debug1: setting up multiplex master socket",
  216. "debug3: muxserver_listen: temporary control path /Users/spencerhill/.ansible/cp/ansible-ssh-kangapestcontrol.com-22-web.hIpN5wq01EHs0B6E",
  217. "debug2: fd 7 setting O_NONBLOCK",
  218. "debug3: fd 7 is O_NONBLOCK",
  219. "debug3: fd 7 is O_NONBLOCK",
  220. "debug1: channel 0: new [/Users/spencerhill/.ansible/cp/ansible-ssh-kangapestcontrol.com-22-web]",
  221. "debug3: muxserver_listen: mux listener channel 0 fd 7",
  222. "debug2: fd 5 setting TCP_NODELAY",
  223. "debug3: ssh_packet_set_tos: set IP_TOS 0x08",
  224. "debug1: control_persist_detach: backgrounding master process",
  225. "debug2: control_persist_detach: background process is 11748",
  226. "debug2: fd 7 setting O_NONBLOCK",
  227. "debug1: forking to background",
  228. "debug1: Entering interactive session.",
  229. "debug1: pledge: id",
  230. "debug2: set_control_persist_exit_time: schedule exit in 60 seconds",
  231. "debug1: multiplexing control connection",
  232. "debug3: fd 8 is O_NONBLOCK",
  233. "debug3: fd 8 is O_NONBLOCK",
  234. "debug1: channel 1: new [mux-control]",
  235. "debug3: channel_post_mux_listener: new mux channel 1 fd 8",
  236. "debug3: mux_master_read_cb: channel 1: hello sent",
  237. "debug2: set_control_persist_exit_time: cancel scheduled exit",
  238. "debug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4",
  239. "debug2: process_mux_master_hello: channel 1 slave version 4",
  240. "debug2: mux_client_hello_exchange: master version 4",
  241. "debug3: mux_client_forwards: request forwardings: 0 local, 0 remote",
  242. "debug3: mux_client_request_session: entering",
  243. "debug3: mux_client_request_alive: entering",
  244. "debug3: mux_master_read_cb: channel 1 packet type 0x10000004 len 4",
  245. "debug2: process_mux_alive_check: channel 1: alive check",
  246. "debug3: mux_client_request_alive: done pid = 11750",
  247. "debug3: mux_client_request_session: session request sent",
  248. "debug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 56",
  249. "debug2: process_mux_new_session: channel 1: request tty 1, X 0, agent 1, subsys 0, term \"xterm-256color\", cmd \"whoami\", env 0",
  250. "debug3: process_mux_new_session: got fds stdin 9, stdout 10, stderr 11",
  251. "debug2: fd 10 setting O_NONBLOCK",
  252. "debug2: fd 11 setting O_NONBLOCK",
  253. "debug1: channel 2: new [client-session]",
  254. "debug2: process_mux_new_session: channel_new: 2 linked to control channel 1",
  255. "debug2: channel 2: send open",
  256. "debug3: send packet: type 90",
  257. "debug3: receive packet: type 80",
  258. "debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0",
  259. "debug3: receive packet: type 91",
  260. "debug2: callback start",
  261. "debug1: Requesting authentication agent forwarding.",
  262. "debug2: channel 2: request auth-agent-req@openssh.com confirm 0",
  263. "debug3: send packet: type 98",
  264. "debug2: client_session2_setup: id 2",
  265. "debug2: channel 2: request pty-req confirm 1",
  266. "debug3: send packet: type 98",
  267. "debug1: Sending command: whoami",
  268. "debug2: channel 2: request exec confirm 1",
  269. "debug3: send packet: type 98",
  270. "debug3: mux_session_confirm: sending success reply",
  271. "debug2: callback done",
  272. "debug2: channel 2: open confirm rwindow 0 rmax 32768",
  273. "debug1: mux_client_request_session: master session id: 2",
  274. "debug3: receive packet: type 99",
  275. "debug2: channel_input_status_confirm: type 99 id 2",
  276. "debug2: PTY allocation request accepted on channel 2",
  277. "debug2: channel 2: rcvd adjust 2097152",
  278. "debug3: receive packet: type 99",
  279. "debug2: channel_input_status_confirm: type 99 id 2",
  280. "debug2: exec request accepted on channel 2",
  281. "debug3: receive packet: type 96",
  282. "debug2: channel 2: rcvd eof",
  283. "debug2: channel 2: output open -> drain",
  284. "debug3: receive packet: type 98",
  285. "debug1: client_input_channel_req: channel 2 rtype exit-status reply 0",
  286. "debug3: mux_exit_message: channel 2: exit message, exitval 0",
  287. "debug3: receive packet: type 98",
  288. "debug1: client_input_channel_req: channel 2 rtype eow@openssh.com reply 0",
  289. "debug2: channel 2: rcvd eow",
  290. "debug2: channel 2: close_read",
  291. "debug2: channel 2: input open -> closed",
  292. "debug3: receive packet: type 97",
  293. "debug2: channel 2: rcvd close",
  294. "debug3: channel 2: will not send data after close",
  295. "debug3: channel 2: will not send data after close",
  296. "debug2: channel 2: obuf empty",
  297. "debug2: channel 2: close_write",
  298. "debug2: channel 2: output drain -> closed",
  299. "debug2: channel 2: send close",
  300. "debug3: send packet: type 97",
  301. "debug2: channel 2: is dead",
  302. "debug2: channel 2: gc: notify user",
  303. "debug3: mux_master_session_cleanup_cb: entering for channel 2",
  304. "debug2: channel 1: rcvd close",
  305. "debug2: channel 1: output open -> drain",
  306. "debug2: channel 1: close_read",
  307. "debug2: channel 1: input open -> closed",
  308. "debug2: channel 2: gc: user detached",
  309. "debug2: channel 2: is dead",
  310. "debug2: channel 2: garbage collecting",
  311. "debug1: channel 2: free: client-session, nchannels 3",
  312. "debug3: channel 2: status: The following connections are open:",
  313. " #1 mux-control (t16 r-1 i3/0 o1/0 fd 8/8 cc -1)",
  314. " #2 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)",
  315. "",
  316. "debug2: channel 1: obuf empty",
  317. "debug2: channel 1: close_write",
  318. "debug3: mux_client_read_packet: read header failed: Broken pipe",
  319. "debug2: Received exit status from master 0",
  320. "debug2: channel 1: output drain -> closed",
  321. "debug2: channel 1: is dead (local)",
  322. "debug2: channel 1: gc: notify user",
  323. "debug3: mux_master_control_cleanup_cb: entering for channel 1",
  324. "debug2: channel 1: gc: user detached",
  325. "Shared connection to kangapestcontrol.com closed.",
  326. "debug2: channel 1: is dead (local)",
  327. "debug2: channel 1: garbage collecting",
  328. "debug1: channel 1: free: mux-control, nchannels 2",
  329. "debug3: channel 1: status: The following connections are open:",
  330. " #1 mux-control (t16 r-1 i3/0 o3/0 fd 8/8 cc -1)",
  331. "",
  332. "debug2: set_control_persist_exit_time: schedule exit in 60 seconds",
  333. "",
  334. "\u001b[0m"
  335. ],
  336. "warnings": []
  337. }
  338.  
  339. TASK [connection : Warn about change in host keys] *****************************
  340. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:29
  341. skipping: [kangapestcontrol.com] => {
  342. "changed": false,
  343. "skip_reason": "Conditional check failed",
  344. "skipped": true
  345. }
  346.  
  347. TASK [connection : Set remote user for each host] ******************************
  348. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:53
  349. skipping: [kangapestcontrol.com] => {
  350. "changed": false,
  351. "skip_reason": "Conditional check failed",
  352. "skipped": true
  353. }
  354.  
  355. TASK [connection : Announce which user was selected] ***************************
  356. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:58
  357. skipping: [kangapestcontrol.com] => {
  358. "changed": false,
  359. "skip_reason": "Conditional check failed",
  360. "skipped": true
  361. }
  362.  
  363. TASK [connection : Load become password] ***************************************
  364. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/connection/tasks/main.yml:76
  365. skipping: [kangapestcontrol.com] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
  366.  
  367. PLAY [Deploy WP site] **********************************************************
  368.  
  369. TASK [setup] *******************************************************************
  370. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/system/setup.py
  371. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  372. <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'"'"''
  373. ok: [kangapestcontrol.com]
  374.  
  375. TASK [Ensure site is valid] ****************************************************
  376. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy.yml:18
  377. skipping: [kangapestcontrol.com] => {
  378. "changed": false,
  379. "skip_reason": "Conditional check failed",
  380. "skipped": true
  381. }
  382.  
  383. TASK [Ensure repo is valid] ****************************************************
  384. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy.yml:23
  385. skipping: [kangapestcontrol.com] => {
  386. "changed": false,
  387. "skip_reason": "Conditional check failed",
  388. "skipped": true
  389. }
  390.  
  391. TASK [deploy : include] ********************************************************
  392. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/main.yml:2
  393.  
  394. TASK [deploy : include] ********************************************************
  395. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/initialize.yml:2
  396.  
  397. TASK [deploy : Initialize] *****************************************************
  398. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/initialize.yml:8
  399. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/extras/web_infrastructure/deploy_helper.py
  400. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  401. <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'"'"''
  402. changed: [kangapestcontrol.com] => {
  403. "ansible_facts": {
  404. "deploy_helper": {
  405. "current_path": "/srv/www/kangapestcontrol.com/current",
  406. "new_release": "20170412195118",
  407. "new_release_path": "/srv/www/kangapestcontrol.com/releases/20170412195118",
  408. "previous_release": null,
  409. "previous_release_path": null,
  410. "project_path": "/srv/www/kangapestcontrol.com",
  411. "releases_path": "/srv/www/kangapestcontrol.com/releases",
  412. "shared_path": "/srv/www/kangapestcontrol.com/shared",
  413. "unfinished_filename": "DEPLOY_UNFINISHED"
  414. }
  415. },
  416. "changed": true,
  417. "invocation": {
  418. "module_args": {
  419. "backup": null,
  420. "clean": true,
  421. "content": null,
  422. "current_path": "current",
  423. "delimiter": null,
  424. "directory_mode": null,
  425. "follow": false,
  426. "force": null,
  427. "group": null,
  428. "keep_releases": 5,
  429. "mode": null,
  430. "owner": null,
  431. "path": "/srv/www/kangapestcontrol.com",
  432. "regexp": null,
  433. "release": null,
  434. "releases_path": "releases",
  435. "remote_src": null,
  436. "selevel": null,
  437. "serole": null,
  438. "setype": null,
  439. "seuser": null,
  440. "shared_path": "shared",
  441. "src": null,
  442. "state": "present",
  443. "unfinished_filename": "DEPLOY_UNFINISHED",
  444. "unsafe_writes": null
  445. },
  446. "module_name": "deploy_helper"
  447. },
  448. "state": "present"
  449. }
  450.  
  451. TASK [deploy : include] ********************************************************
  452. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/initialize.yml:14
  453.  
  454. TASK [deploy : include] ********************************************************
  455. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:2
  456.  
  457. TASK [deploy : Add known_hosts] ************************************************
  458. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:8
  459. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/extras/system/known_hosts.py
  460. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  461. <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'"'"''
  462. changed: [kangapestcontrol.com] => (item={u'name': u'gitlab.iteratemarketing.com', u'key': u'gitlab.iteratemarketing.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNh/NW/bvjvoTDt9CuHwzIh3pVj4FB/t4jyrx74kcxu'}) => {
  463. "changed": true,
  464. "gid": 33,
  465. "group": "www-data",
  466. "invocation": {
  467. "module_args": {
  468. "changed": true,
  469. "key": "gitlab.iteratemarketing.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNh/NW/bvjvoTDt9CuHwzIh3pVj4FB/t4jyrx74kcxu",
  470. "name": "gitlab.iteratemarketing.com",
  471. "path": "/home/web/.ssh/known_hosts",
  472. "state": "present"
  473. },
  474. "module_name": "known_hosts"
  475. },
  476. "item": {
  477. "key": "gitlab.iteratemarketing.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNh/NW/bvjvoTDt9CuHwzIh3pVj4FB/t4jyrx74kcxu",
  478. "name": "gitlab.iteratemarketing.com"
  479. },
  480. "key": "gitlab.iteratemarketing.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILNh/NW/bvjvoTDt9CuHwzIh3pVj4FB/t4jyrx74kcxu",
  481. "mode": "0644",
  482. "name": "gitlab.iteratemarketing.com",
  483. "owner": "web",
  484. "path": "/home/web/.ssh/known_hosts",
  485. "size": 109,
  486. "state": "file",
  487. "uid": 1000
  488. }
  489.  
  490. TASK [deploy : Check whether project source path is a git repo] ****************
  491. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:16
  492. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/stat.py
  493. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  494. <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'"'"''
  495. ok: [kangapestcontrol.com] => {
  496. "changed": false,
  497. "invocation": {
  498. "module_args": {
  499. "checksum_algorithm": "sha1",
  500. "follow": false,
  501. "get_checksum": true,
  502. "get_md5": true,
  503. "mime": false,
  504. "path": "/srv/www/kangapestcontrol.com/shared/source/.git"
  505. },
  506. "module_name": "stat"
  507. },
  508. "stat": {
  509. "exists": false
  510. }
  511. }
  512.  
  513. TASK [deploy : Get current git remote URL] *************************************
  514. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:21
  515. skipping: [kangapestcontrol.com] => {
  516. "changed": false,
  517. "skip_reason": "Conditional check failed",
  518. "skipped": true
  519. }
  520.  
  521. TASK [deploy : Update git remote URL] ******************************************
  522. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:29
  523. skipping: [kangapestcontrol.com] => {
  524. "changed": false,
  525. "skip_reason": "Conditional check failed",
  526. "skipped": true
  527. }
  528.  
  529. TASK [deploy : Clone project files] ********************************************
  530. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:35
  531. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/source_control/git.py
  532. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  533. <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'"'"''
  534. changed: [kangapestcontrol.com] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
  535.  
  536. TASK [deploy : Failed connection to remote repo] *******************************
  537. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:45
  538. skipping: [kangapestcontrol.com] => {
  539. "changed": false,
  540. "skip_reason": "Conditional check failed",
  541. "skipped": true
  542. }
  543.  
  544. TASK [deploy : include] ********************************************************
  545. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/update.yml:54
  546.  
  547. TASK [deploy : include] ********************************************************
  548. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:2
  549.  
  550. TASK [deploy : write unfinished file] ******************************************
  551. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:8
  552. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/file.py
  553. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  554. <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'"'"''
  555. changed: [kangapestcontrol.com] => {
  556. "changed": true,
  557. "dest": "/srv/www/kangapestcontrol.com/shared/source/DEPLOY_UNFINISHED",
  558. "diff": {
  559. "after": {
  560. "path": "/srv/www/kangapestcontrol.com/shared/source/DEPLOY_UNFINISHED",
  561. "state": "touch"
  562. },
  563. "before": {
  564. "path": "/srv/www/kangapestcontrol.com/shared/source/DEPLOY_UNFINISHED",
  565. "state": "absent"
  566. }
  567. },
  568. "gid": 33,
  569. "group": "www-data",
  570. "invocation": {
  571. "module_args": {
  572. "backup": null,
  573. "content": null,
  574. "delimiter": null,
  575. "diff_peek": null,
  576. "directory_mode": null,
  577. "follow": false,
  578. "force": false,
  579. "group": null,
  580. "mode": null,
  581. "original_basename": null,
  582. "owner": null,
  583. "path": "/srv/www/kangapestcontrol.com/shared/source/DEPLOY_UNFINISHED",
  584. "recurse": false,
  585. "regexp": null,
  586. "remote_src": null,
  587. "selevel": null,
  588. "serole": null,
  589. "setype": null,
  590. "seuser": null,
  591. "src": null,
  592. "state": "touch",
  593. "unsafe_writes": null,
  594. "validate": null
  595. },
  596. "module_name": "file"
  597. },
  598. "mode": "0644",
  599. "owner": "web",
  600. "size": 0,
  601. "state": "file",
  602. "uid": 1000
  603. }
  604.  
  605. TASK [deploy : Check for project repo subtree] *********************************
  606. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:13
  607. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/stat.py
  608. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  609. <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'"'"''
  610. ok: [kangapestcontrol.com] => {
  611. "changed": false,
  612. "invocation": {
  613. "module_args": {
  614. "checksum_algorithm": "sha1",
  615. "follow": false,
  616. "get_checksum": true,
  617. "get_md5": true,
  618. "mime": false,
  619. "path": "/srv/www/kangapestcontrol.com/shared/source/site"
  620. },
  621. "module_name": "stat"
  622. },
  623. "stat": {
  624. "atime": 1492026697.469544,
  625. "ctime": 1492026697.5455472,
  626. "dev": 64769,
  627. "executable": true,
  628. "exists": true,
  629. "gid": 33,
  630. "gr_name": "www-data",
  631. "inode": 514962,
  632. "isblk": false,
  633. "ischr": false,
  634. "isdir": true,
  635. "isfifo": false,
  636. "isgid": false,
  637. "islnk": false,
  638. "isreg": false,
  639. "issock": false,
  640. "isuid": false,
  641. "mode": "0755",
  642. "mtime": 1492026697.5455472,
  643. "nlink": 6,
  644. "path": "/srv/www/kangapestcontrol.com/shared/source/site",
  645. "pw_name": "web",
  646. "readable": true,
  647. "rgrp": true,
  648. "roth": true,
  649. "rusr": true,
  650. "size": 4096,
  651. "uid": 1000,
  652. "wgrp": false,
  653. "woth": false,
  654. "writeable": true,
  655. "wusr": true,
  656. "xgrp": true,
  657. "xoth": true,
  658. "xusr": true
  659. }
  660. }
  661.  
  662. TASK [deploy : Fail if repo_subtree_path is set incorrectly] *******************
  663. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:19
  664. skipping: [kangapestcontrol.com] => {
  665. "changed": false,
  666. "skip_reason": "Conditional check failed",
  667. "skipped": true
  668. }
  669.  
  670. TASK [deploy : Create new release dir] *****************************************
  671. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:24
  672. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/file.py
  673. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  674. <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'"'"''
  675. changed: [kangapestcontrol.com] => {
  676. "changed": true,
  677. "diff": {
  678. "after": {
  679. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118",
  680. "state": "directory"
  681. },
  682. "before": {
  683. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118",
  684. "state": "absent"
  685. }
  686. },
  687. "gid": 33,
  688. "group": "www-data",
  689. "invocation": {
  690. "module_args": {
  691. "backup": null,
  692. "content": null,
  693. "delimiter": null,
  694. "diff_peek": null,
  695. "directory_mode": null,
  696. "follow": false,
  697. "force": false,
  698. "group": null,
  699. "mode": null,
  700. "original_basename": null,
  701. "owner": null,
  702. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118",
  703. "recurse": false,
  704. "regexp": null,
  705. "remote_src": null,
  706. "selevel": null,
  707. "serole": null,
  708. "setype": null,
  709. "seuser": null,
  710. "src": null,
  711. "state": "directory",
  712. "unsafe_writes": null,
  713. "validate": null
  714. },
  715. "module_name": "file"
  716. },
  717. "mode": "0755",
  718. "owner": "web",
  719. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118",
  720. "size": 4096,
  721. "state": "directory",
  722. "uid": 1000
  723. }
  724.  
  725. TASK [deploy : Run git archive to populate new build dir] **********************
  726. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:29
  727. skipping: [kangapestcontrol.com] => {
  728. "changed": false,
  729. "skip_reason": "Conditional check failed",
  730. "skipped": true
  731. }
  732.  
  733. TASK [deploy : Run git archive with subdirectory to populate new build dir] ****
  734. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:35
  735. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
  736. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  737. <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'"'"''
  738. changed: [kangapestcontrol.com] => {
  739. "changed": true,
  740. "cmd": "git archive master site | tar -x --strip-components 1 -f - -C /srv/www/kangapestcontrol.com/releases/20170412195118",
  741. "delta": "0:00:00.093779",
  742. "end": "2017-04-12 19:51:44.046702",
  743. "invocation": {
  744. "module_args": {
  745. "_raw_params": "git archive master site | tar -x --strip-components 1 -f - -C /srv/www/kangapestcontrol.com/releases/20170412195118",
  746. "_uses_shell": true,
  747. "chdir": "/srv/www/kangapestcontrol.com/shared/source",
  748. "creates": null,
  749. "executable": null,
  750. "removes": null,
  751. "warn": true
  752. },
  753. "module_name": "command"
  754. },
  755. "rc": 0,
  756. "start": "2017-04-12 19:51:43.952923",
  757. "stderr": "",
  758. "stdout": "",
  759. "stdout_lines": [],
  760. "warnings": []
  761. }
  762.  
  763. TASK [deploy : include] ********************************************************
  764. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/prepare.yml:41
  765.  
  766. TASK [deploy : include] ********************************************************
  767. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/build.yml:2
  768. included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy-hooks/build-before.yml for kangapestcontrol.com
  769.  
  770. TASK [deploy : Run npm install] ************************************************
  771. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy-hooks/build-before.yml:42
  772. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
  773. <kangapestcontrol.com> ESTABLISH LOCAL CONNECTION FOR USER: spencerhill
  774. <kangapestcontrol.com> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
  775. changed: [kangapestcontrol.com] => {
  776. "changed": true,
  777. "cmd": [
  778. "npm",
  779. "install"
  780. ],
  781. "delta": "0:01:32.015704",
  782. "end": "2017-04-12 12:53:19.020765",
  783. "invocation": {
  784. "module_args": {
  785. "_raw_params": "npm install",
  786. "_uses_shell": false,
  787. "chdir": "../site/web/app/themes/kanga-pest-control-2017",
  788. "creates": null,
  789. "executable": null,
  790. "removes": null,
  791. "warn": true
  792. },
  793. "module_name": "command"
  794. },
  795. "rc": 0,
  796. "start": "2017-04-12 12:51:47.005061",
  797. "stderr": "",
  798. "stdout": "",
  799. "stdout_lines": [],
  800. "warnings": []
  801. }
  802.  
  803. TASK [deploy : Run bower install] **********************************************
  804. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy-hooks/build-before.yml:48
  805. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
  806. <kangapestcontrol.com> ESTABLISH LOCAL CONNECTION FOR USER: spencerhill
  807. <kangapestcontrol.com> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
  808. changed: [kangapestcontrol.com] => {
  809. "changed": true,
  810. "cmd": [
  811. "bower",
  812. "install"
  813. ],
  814. "delta": "0:00:06.455458",
  815. "end": "2017-04-12 12:53:26.637335",
  816. "invocation": {
  817. "module_args": {
  818. "_raw_params": "bower install",
  819. "_uses_shell": false,
  820. "chdir": "../site/web/app/themes/kanga-pest-control-2017",
  821. "creates": null,
  822. "executable": null,
  823. "removes": null,
  824. "warn": true
  825. },
  826. "module_name": "command"
  827. },
  828. "rc": 0,
  829. "start": "2017-04-12 12:53:20.181877",
  830. "stderr": "",
  831. "stdout": "",
  832. "stdout_lines": [],
  833. "warnings": []
  834. }
  835.  
  836. TASK [deploy : Run gulp] *******************************************************
  837. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy-hooks/build-before.yml:54
  838. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
  839. <kangapestcontrol.com> ESTABLISH LOCAL CONNECTION FOR USER: spencerhill
  840. <kangapestcontrol.com> EXEC /bin/sh -c '/usr/bin/python && sleep 0'
  841. changed: [kangapestcontrol.com] => {
  842. "changed": true,
  843. "cmd": [
  844. "gulp",
  845. "--production"
  846. ],
  847. "delta": "0:00:43.428939",
  848. "end": "2017-04-12 12:54:11.228939",
  849. "invocation": {
  850. "module_args": {
  851. "_raw_params": "gulp --production",
  852. "_uses_shell": false,
  853. "chdir": "../site/web/app/themes/kanga-pest-control-2017",
  854. "creates": null,
  855. "executable": null,
  856. "removes": null,
  857. "warn": true
  858. },
  859. "module_name": "command"
  860. },
  861. "rc": 0,
  862. "start": "2017-04-12 12:53:27.800000",
  863. "stderr": "",
  864. "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",
  865. "stdout_lines": [
  866. "[12:53:37] Using gulpfile ~/Sites/kangapestcontrol.com/site/web/app/themes/kanga-pest-control-2017/gulpfile.js",
  867. "[12:53:37] Starting 'clean'...",
  868. "[12:53:37] Finished 'clean' after 104 ms",
  869. "[12:53:37] Starting 'default'...",
  870. "[12:53:37] Starting 'build'...",
  871. "[12:53:37] Starting 'wiredep'...",
  872. "[12:53:38] Finished 'default' after 603 ms",
  873. "[12:53:38] Finished 'wiredep' after 754 ms",
  874. "[12:53:38] Starting 'styles'...",
  875. "[12:53:54] Finished 'styles' after 16 s",
  876. "[12:53:54] Starting 'jshint'...",
  877. "[12:53:54] Finished 'jshint' after 406 ms",
  878. "[12:53:54] Starting 'scripts'...",
  879. "[12:54:10] Finished 'scripts' after 16 s",
  880. "[12:54:10] Starting 'fonts'...",
  881. "[12:54:10] Starting 'images'...",
  882. "[12:54:10] gulp-imagemin: Minified 8 images (saved 0 B - 0%)",
  883. "[12:54:10] Finished 'images' after 521 ms",
  884. "[12:54:11] Finished 'fonts' after 754 ms",
  885. "[12:54:11] Finished 'build' after 33 s"
  886. ],
  887. "warnings": []
  888. }
  889.  
  890. TASK [deploy : Copy project local files] ***************************************
  891. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy-hooks/build-before.yml:60
  892. File lookup using /Users/spencerhill/.ssh/id_rsa.pub as file
  893. File lookup using /Users/spencerhill/.ssh/id_rsa.pub as file
  894. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/synchronize.py
  895. <kangapestcontrol.com> ESTABLISH LOCAL CONNECTION FOR USER: spencerhill
  896. <kangapestcontrol.com> EXEC /bin/sh -c '/usr/local/opt/python/bin/python2.7 && sleep 0'
  897. changed: [kangapestcontrol.com] => {
  898. "changed": true,
  899. "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\" \"web@kangapestcontrol.com:/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/themes/kanga-pest-control-2017\"",
  900. "invocation": {
  901. "module_args": {
  902. "_local_rsync_path": "rsync",
  903. "_substitute_controller": false,
  904. "archive": true,
  905. "checksum": false,
  906. "compress": true,
  907. "copy_links": null,
  908. "delete": false,
  909. "dest": "web@kangapestcontrol.com:/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/themes/kanga-pest-control-2017",
  910. "dest_port": null,
  911. "dirs": false,
  912. "existing_only": false,
  913. "group": false,
  914. "links": null,
  915. "mode": "push",
  916. "owner": false,
  917. "partial": false,
  918. "perms": null,
  919. "private_key": null,
  920. "recursive": null,
  921. "rsync_opts": [
  922. "--chmod=Du=rwx",
  923. "--chmod=Dg=rx",
  924. "--chmod=Do=rx",
  925. "--chmod=Fu=rw",
  926. "--chmod=Fg=r",
  927. "--chmod=Fo=r"
  928. ],
  929. "rsync_path": null,
  930. "rsync_timeout": 0,
  931. "set_remote_user": true,
  932. "src": "/Users/spencerhill/Sites/kangapestcontrol.com/site/web/app/themes/kanga-pest-control-2017/dist",
  933. "ssh_args": null,
  934. "times": null,
  935. "verify_host": false
  936. }
  937. },
  938. "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",
  939. "rc": 0,
  940. "stdout_lines": [
  941. "cd+++++++ dist/",
  942. "<f+++++++ dist/assets.json",
  943. "cd+++++++ dist/fonts/",
  944. "<f+++++++ dist/fonts/Avenir-Black.eot",
  945. "<f+++++++ dist/fonts/Avenir-Black.ttf",
  946. "<f+++++++ dist/fonts/Avenir-Black.woff",
  947. "<f+++++++ dist/fonts/Avenir-BlackOblique.eot",
  948. "<f+++++++ dist/fonts/Avenir-BlackOblique.ttf",
  949. "<f+++++++ dist/fonts/Avenir-BlackOblique.woff",
  950. "<f+++++++ dist/fonts/Avenir-Book.eot",
  951. "<f+++++++ dist/fonts/Avenir-Book.ttf",
  952. "<f+++++++ dist/fonts/Avenir-Book.woff",
  953. "<f+++++++ dist/fonts/Avenir-BookOblique.eot",
  954. "<f+++++++ dist/fonts/Avenir-BookOblique.ttf",
  955. "<f+++++++ dist/fonts/Avenir-BookOblique.woff",
  956. "<f+++++++ dist/fonts/Avenir-Heavy.eot",
  957. "<f+++++++ dist/fonts/Avenir-Heavy.ttf",
  958. "<f+++++++ dist/fonts/Avenir-Heavy.woff",
  959. "<f+++++++ dist/fonts/Avenir-HeavyOblique.eot",
  960. "<f+++++++ dist/fonts/Avenir-HeavyOblique.ttf",
  961. "<f+++++++ dist/fonts/Avenir-HeavyOblique.woff",
  962. "<f+++++++ dist/fonts/Avenir-Light.eot",
  963. "<f+++++++ dist/fonts/Avenir-Light.ttf",
  964. "<f+++++++ dist/fonts/Avenir-Light.woff",
  965. "<f+++++++ dist/fonts/Avenir-LightOblique.eot",
  966. "<f+++++++ dist/fonts/Avenir-LightOblique.ttf",
  967. "<f+++++++ dist/fonts/Avenir-LightOblique.woff",
  968. "<f+++++++ dist/fonts/Avenir-Medium.eot",
  969. "<f+++++++ dist/fonts/Avenir-Medium.ttf",
  970. "<f+++++++ dist/fonts/Avenir-Medium.woff",
  971. "<f+++++++ dist/fonts/Avenir-MediumOblique.eot",
  972. "<f+++++++ dist/fonts/Avenir-MediumOblique.ttf",
  973. "<f+++++++ dist/fonts/Avenir-MediumOblique.woff",
  974. "<f+++++++ dist/fonts/Avenir-Oblique.eot",
  975. "<f+++++++ dist/fonts/Avenir-Oblique.ttf",
  976. "<f+++++++ dist/fonts/Avenir-Oblique.woff",
  977. "<f+++++++ dist/fonts/Avenir-Roman.eot",
  978. "<f+++++++ dist/fonts/Avenir-Roman.ttf",
  979. "<f+++++++ dist/fonts/Avenir-Roman.woff",
  980. "<f+++++++ dist/fonts/FontAwesome.otf",
  981. "<f+++++++ dist/fonts/Oswald-Bold.otf",
  982. "<f+++++++ dist/fonts/Oswald-Light.otf",
  983. "<f+++++++ dist/fonts/Oswald-Regular.otf",
  984. "<f+++++++ dist/fonts/fontawesome-webfont.eot",
  985. "<f+++++++ dist/fonts/fontawesome-webfont.svg",
  986. "<f+++++++ dist/fonts/fontawesome-webfont.ttf",
  987. "<f+++++++ dist/fonts/fontawesome-webfont.woff",
  988. "<f+++++++ dist/fonts/fontawesome-webfont.woff2",
  989. "<f+++++++ dist/fonts/oswald-bold-webfont.woff",
  990. "<f+++++++ dist/fonts/oswald-bold-webfont.woff2",
  991. "<f+++++++ dist/fonts/oswald-light-webfont.woff",
  992. "<f+++++++ dist/fonts/oswald-light-webfont.woff2",
  993. "<f+++++++ dist/fonts/oswald-regular-webfont.woff",
  994. "<f+++++++ dist/fonts/oswald-regular-webfont.woff2",
  995. "cd+++++++ dist/images/",
  996. "<f+++++++ dist/images/front-page-header.png",
  997. "<f+++++++ dist/images/kanga-pest-control-logo.png",
  998. "<f+++++++ dist/images/kpc-aphid-removal-icon.png",
  999. "<f+++++++ dist/images/kpc-lawn-grubs-icon.png",
  1000. "<f+++++++ dist/images/kpc-our-services-background-image.png",
  1001. "<f+++++++ dist/images/kpc-pest-control-icon.png",
  1002. "<f+++++++ dist/images/kpc-rodent-removal-icon.png",
  1003. "<f+++++++ dist/images/kpc-termite-extermination-icon.png",
  1004. "cd+++++++ dist/scripts/",
  1005. "<f+++++++ dist/scripts/customizer-2d71a5cf56.js",
  1006. "<f+++++++ dist/scripts/jquery-113701f71a.js",
  1007. "<f+++++++ dist/scripts/main-5e52b3f295.js",
  1008. "cd+++++++ dist/styles/",
  1009. "<f+++++++ dist/styles/main-773c265d7f.css"
  1010. ]
  1011. }
  1012.  
  1013. TASK [deploy : Copy project templates] *****************************************
  1014. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/build.yml:8
  1015. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1016. <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'"'"''
  1017. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/stat.py
  1018. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1019. <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'"'"''
  1020. <kangapestcontrol.com> PUT /var/folders/v9/1vn77mnd3q359_85w2xt41fw0000gq/T/tmp92J5Dv TO /home/web/.ansible/tmp/ansible-tmp-1492026859.73-258707280059297/source
  1021. <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]'
  1022. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1023. <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'"'"''
  1024. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/copy.py
  1025. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1026. <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'"'"''
  1027. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1028. <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'"'"''
  1029. changed: [kangapestcontrol.com] => (item={u'dest': u'.env', u'src': u'roles/deploy/templates/env.j2', u'name': u'.env config'}) => {
  1030. "changed": true,
  1031. "checksum": "ee576d50686fa15ef540bd765b91f880dc84d57c",
  1032. "dest": "/srv/www/kangapestcontrol.com/releases/20170412195118/.env",
  1033. "gid": 33,
  1034. "group": "www-data",
  1035. "invocation": {
  1036. "module_args": {
  1037. "backup": false,
  1038. "content": null,
  1039. "delimiter": null,
  1040. "dest": "/srv/www/kangapestcontrol.com/releases/20170412195118/.env",
  1041. "directory_mode": null,
  1042. "follow": true,
  1043. "force": true,
  1044. "group": null,
  1045. "mode": "0644",
  1046. "original_basename": "env.j2",
  1047. "owner": null,
  1048. "regexp": null,
  1049. "remote_src": null,
  1050. "selevel": null,
  1051. "serole": null,
  1052. "setype": null,
  1053. "seuser": null,
  1054. "src": "/home/web/.ansible/tmp/ansible-tmp-1492026859.73-258707280059297/source",
  1055. "unsafe_writes": null,
  1056. "validate": null
  1057. }
  1058. },
  1059. "item": {
  1060. "dest": ".env",
  1061. "name": ".env config",
  1062. "src": "roles/deploy/templates/env.j2"
  1063. },
  1064. "md5sum": "7788974eb83587bbb7b0a046022dddbc",
  1065. "mode": "0644",
  1066. "owner": "web",
  1067. "size": 1019,
  1068. "src": "/home/web/.ansible/tmp/ansible-tmp-1492026859.73-258707280059297/source",
  1069. "state": "file",
  1070. "uid": 1000
  1071. }
  1072.  
  1073. TASK [deploy : Check if project folders exist] *********************************
  1074. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/build.yml:15
  1075. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/stat.py
  1076. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1077. <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'"'"''
  1078. ok: [kangapestcontrol.com] => (item=vendor) => {
  1079. "changed": false,
  1080. "invocation": {
  1081. "module_args": {
  1082. "checksum_algorithm": "sha1",
  1083. "follow": false,
  1084. "get_checksum": true,
  1085. "get_md5": true,
  1086. "mime": false,
  1087. "path": "/srv/www/kangapestcontrol.com/current/vendor"
  1088. },
  1089. "module_name": "stat"
  1090. },
  1091. "item": "vendor",
  1092. "stat": {
  1093. "exists": false
  1094. }
  1095. }
  1096.  
  1097. TASK [deploy : Copy project folders] *******************************************
  1098. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/build.yml:21
  1099. 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}}}) => {
  1100. "changed": false,
  1101. "item": {
  1102. "changed": false,
  1103. "invocation": {
  1104. "module_args": {
  1105. "checksum_algorithm": "sha1",
  1106. "follow": false,
  1107. "get_checksum": true,
  1108. "get_md5": true,
  1109. "mime": false,
  1110. "path": "/srv/www/kangapestcontrol.com/current/vendor"
  1111. },
  1112. "module_name": "stat"
  1113. },
  1114. "item": "vendor",
  1115. "stat": {
  1116. "exists": false
  1117. }
  1118. },
  1119. "skip_reason": "Conditional check failed",
  1120. "skipped": true
  1121. }
  1122.  
  1123. TASK [deploy : include] ********************************************************
  1124. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/build.yml:26
  1125. included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/build-after.yml for kangapestcontrol.com
  1126.  
  1127. TASK [deploy : Check for composer.json in project root or project_subtree_path]
  1128. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/build-after.yml:2
  1129. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/stat.py
  1130. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1131. <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'"'"''
  1132. ok: [kangapestcontrol.com] => {
  1133. "changed": false,
  1134. "invocation": {
  1135. "module_args": {
  1136. "checksum_algorithm": "sha1",
  1137. "follow": false,
  1138. "get_checksum": true,
  1139. "get_md5": true,
  1140. "mime": false,
  1141. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118/composer.json"
  1142. },
  1143. "module_name": "stat"
  1144. },
  1145. "stat": {
  1146. "atime": 1492026703.9578114,
  1147. "checksum": "0a2409bd8c24d2751ab00fe7025834fed2452d5c",
  1148. "ctime": 1492026703.9578114,
  1149. "dev": 64769,
  1150. "executable": false,
  1151. "exists": true,
  1152. "gid": 33,
  1153. "gr_name": "www-data",
  1154. "inode": 515633,
  1155. "isblk": false,
  1156. "ischr": false,
  1157. "isdir": false,
  1158. "isfifo": false,
  1159. "isgid": false,
  1160. "islnk": false,
  1161. "isreg": true,
  1162. "issock": false,
  1163. "isuid": false,
  1164. "md5": "cf5493ffd92b17d39d9f20a2ebc1e21e",
  1165. "mode": "0644",
  1166. "mtime": 1491964908.0,
  1167. "nlink": 1,
  1168. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118/composer.json",
  1169. "pw_name": "web",
  1170. "readable": true,
  1171. "rgrp": true,
  1172. "roth": true,
  1173. "rusr": true,
  1174. "size": 2884,
  1175. "uid": 1000,
  1176. "wgrp": false,
  1177. "woth": false,
  1178. "writeable": true,
  1179. "wusr": true,
  1180. "xgrp": false,
  1181. "xoth": false,
  1182. "xusr": false
  1183. }
  1184. }
  1185.  
  1186. TASK [deploy : Fail if composer.json not found] ********************************
  1187. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/build-after.yml:7
  1188. skipping: [kangapestcontrol.com] => {
  1189. "changed": false,
  1190. "skip_reason": "Conditional check failed",
  1191. "skipped": true
  1192. }
  1193.  
  1194. TASK [deploy : Setup packagist.com authentication] *****************************
  1195. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/build-after.yml:12
  1196. skipping: [kangapestcontrol.com] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
  1197.  
  1198. TASK [deploy : Install Composer dependencies] **********************************
  1199. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/build-after.yml:20
  1200. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/extras/packaging/language/composer.py
  1201. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1202. <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'"'"''
  1203. changed: [kangapestcontrol.com] => {
  1204. "changed": true,
  1205. "invocation": {
  1206. "module_args": {
  1207. "arguments": "",
  1208. "command": "install",
  1209. "ignore_platform_reqs": false,
  1210. "no_dev": true,
  1211. "no_plugins": false,
  1212. "no_scripts": true,
  1213. "optimize_autoloader": true,
  1214. "prefer_dist": false,
  1215. "prefer_source": false,
  1216. "working_dir": "/srv/www/kangapestcontrol.com/releases/20170412195118"
  1217. },
  1218. "module_name": "composer"
  1219. },
  1220. "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",
  1221. "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",
  1222. "stdout_lines": [
  1223. "Loading composer repositories with package information",
  1224. "Installing dependencies from lock file",
  1225. "Package operations: 23 installs, 0 updates, 0 removals",
  1226. " - Installing composer/installers (v1.2.0): Downloading (100%)",
  1227. " - Installing johnpbloch/wordpress-core-installer (0.2.1): Downloading (100%)",
  1228. " - Installing vlucas/phpdotenv (v2.4.0): Downloading (100%)",
  1229. " - Installing philippbaschke/acf-pro-installer (v1.0.2): Downloading (100%)",
  1230. " - Installing advanced-custom-fields/advanced-custom-fields-pro (5.5.11): Downloading (100%)",
  1231. " - Installing johnpbloch/wordpress-core (4.7.3): Downloading (100%)",
  1232. " - Installing johnpbloch/wordpress (4.7.3): Downloading (100%)",
  1233. " - Installing oscarotero/env (v1.0.2): Downloading (100%)",
  1234. " - Installing roots/wp-password-bcrypt (1.0.0): Downloading (100%)",
  1235. " - Installing wpackagist-plugin/acf-front-end-form-extension (dev-trunk): Downloading (100%)",
  1236. " - Installing wpackagist-plugin/adminimize (dev-trunk): Downloading (100%)",
  1237. " - Installing wpackagist-plugin/advanced-custom-fields (dev-trunk): Downloading (100%)",
  1238. " - Installing wpackagist-plugin/advanced-custom-fields-font-awesome (dev-trunk): Downloading (100%)",
  1239. " - Installing wpackagist-plugin/custom-post-type-ui (dev-trunk): Downloading (100%)",
  1240. " - Installing wpackagist-plugin/duracelltomi-google-tag-manager (dev-trunk): Downloading (100%)",
  1241. " - Installing wpackagist-plugin/eps-301-redirects (dev-trunk): Downloading (100%)",
  1242. " - Installing wpackagist-plugin/force-strong-passwords (dev-trunk): Downloading (100%)",
  1243. " - Installing wpackagist-plugin/revisr (dev-trunk): Downloading (100%)",
  1244. " - Installing wpackagist-plugin/shiftnav-responsive-mobile-menu (dev-trunk): Downloading (100%)",
  1245. " - Installing wpackagist-plugin/shortcode-widget (dev-trunk): Downloading (100%)",
  1246. " - Installing wpackagist-plugin/user-role-editor (dev-trunk): Downloading (100%)",
  1247. " - Installing wpackagist-plugin/woocommerce (dev-trunk): Downloading (100%)",
  1248. " - Installing wpackagist-plugin/wysija-newsletters (dev-trunk): Downloading (100%)",
  1249. "Generating optimized autoload files"
  1250. ]
  1251. }
  1252.  
  1253. TASK [deploy : include] ********************************************************
  1254. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:2
  1255.  
  1256. TASK [deploy : Ensure shared sources are present -- directories] ***************
  1257. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:8
  1258. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/file.py
  1259. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1260. <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'"'"''
  1261. changed: [kangapestcontrol.com] => (item={u'path': u'web/app/uploads', u'src': u'uploads'}) => {
  1262. "changed": true,
  1263. "diff": {
  1264. "after": {
  1265. "path": "/srv/www/kangapestcontrol.com/shared/uploads",
  1266. "state": "directory"
  1267. },
  1268. "before": {
  1269. "path": "/srv/www/kangapestcontrol.com/shared/uploads",
  1270. "state": "absent"
  1271. }
  1272. },
  1273. "gid": 33,
  1274. "group": "www-data",
  1275. "invocation": {
  1276. "module_args": {
  1277. "backup": null,
  1278. "content": null,
  1279. "delimiter": null,
  1280. "diff_peek": null,
  1281. "directory_mode": null,
  1282. "follow": false,
  1283. "force": false,
  1284. "group": null,
  1285. "mode": "0755",
  1286. "original_basename": null,
  1287. "owner": null,
  1288. "path": "/srv/www/kangapestcontrol.com/shared/uploads",
  1289. "recurse": false,
  1290. "regexp": null,
  1291. "remote_src": null,
  1292. "selevel": null,
  1293. "serole": null,
  1294. "setype": null,
  1295. "seuser": null,
  1296. "src": null,
  1297. "state": "directory",
  1298. "unsafe_writes": null,
  1299. "validate": null
  1300. },
  1301. "module_name": "file"
  1302. },
  1303. "item": {
  1304. "path": "web/app/uploads",
  1305. "src": "uploads"
  1306. },
  1307. "mode": "0755",
  1308. "owner": "web",
  1309. "path": "/srv/www/kangapestcontrol.com/shared/uploads",
  1310. "size": 4096,
  1311. "state": "directory",
  1312. "uid": 1000
  1313. }
  1314.  
  1315. TASK [deploy : Ensure shared sources are present -- files' parent directories] *
  1316. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:16
  1317. skipping: [kangapestcontrol.com] => (item={u'path': u'web/app/uploads', u'src': u'uploads'}) => {
  1318. "changed": false,
  1319. "item": {
  1320. "path": "web/app/uploads",
  1321. "src": "uploads"
  1322. },
  1323. "skip_reason": "Conditional check failed",
  1324. "skipped": true
  1325. }
  1326.  
  1327. TASK [deploy : Ensure shared sources are present -- files] *********************
  1328. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:24
  1329. skipping: [kangapestcontrol.com] => (item={u'path': u'web/app/uploads', u'src': u'uploads'}) => {
  1330. "changed": false,
  1331. "item": {
  1332. "path": "web/app/uploads",
  1333. "src": "uploads"
  1334. },
  1335. "skip_reason": "Conditional check failed",
  1336. "skipped": true
  1337. }
  1338.  
  1339. TASK [deploy : Ensure parent directories for shared paths are present] *********
  1340. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:32
  1341. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/file.py
  1342. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1343. <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'"'"''
  1344. ok: [kangapestcontrol.com] => (item={u'path': u'web/app/uploads', u'src': u'uploads'}) => {
  1345. "changed": false,
  1346. "diff": {
  1347. "after": {
  1348. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app"
  1349. },
  1350. "before": {
  1351. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app"
  1352. }
  1353. },
  1354. "gid": 33,
  1355. "group": "www-data",
  1356. "invocation": {
  1357. "module_args": {
  1358. "backup": null,
  1359. "content": null,
  1360. "delimiter": null,
  1361. "diff_peek": null,
  1362. "directory_mode": null,
  1363. "follow": false,
  1364. "force": false,
  1365. "group": null,
  1366. "mode": null,
  1367. "original_basename": null,
  1368. "owner": null,
  1369. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app",
  1370. "recurse": false,
  1371. "regexp": null,
  1372. "remote_src": null,
  1373. "selevel": null,
  1374. "serole": null,
  1375. "setype": null,
  1376. "seuser": null,
  1377. "src": null,
  1378. "state": "directory",
  1379. "unsafe_writes": null,
  1380. "validate": null
  1381. },
  1382. "module_name": "file"
  1383. },
  1384. "item": {
  1385. "path": "web/app/uploads",
  1386. "src": "uploads"
  1387. },
  1388. "mode": "0755",
  1389. "owner": "web",
  1390. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app",
  1391. "size": 4096,
  1392. "state": "directory",
  1393. "uid": 1000
  1394. }
  1395.  
  1396. TASK [deploy : Ensure shared paths are absent] *********************************
  1397. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:38
  1398. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/file.py
  1399. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1400. <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'"'"''
  1401. changed: [kangapestcontrol.com] => (item={u'path': u'web/app/uploads', u'src': u'uploads'}) => {
  1402. "changed": true,
  1403. "diff": {
  1404. "after": {
  1405. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
  1406. "state": "absent"
  1407. },
  1408. "before": {
  1409. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
  1410. "state": "directory"
  1411. }
  1412. },
  1413. "invocation": {
  1414. "module_args": {
  1415. "backup": null,
  1416. "content": null,
  1417. "delimiter": null,
  1418. "diff_peek": null,
  1419. "directory_mode": null,
  1420. "follow": false,
  1421. "force": false,
  1422. "group": null,
  1423. "mode": null,
  1424. "original_basename": null,
  1425. "owner": null,
  1426. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
  1427. "recurse": false,
  1428. "regexp": null,
  1429. "remote_src": null,
  1430. "selevel": null,
  1431. "serole": null,
  1432. "setype": null,
  1433. "seuser": null,
  1434. "src": null,
  1435. "state": "absent",
  1436. "unsafe_writes": null,
  1437. "validate": null
  1438. },
  1439. "module_name": "file"
  1440. },
  1441. "item": {
  1442. "path": "web/app/uploads",
  1443. "src": "uploads"
  1444. },
  1445. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
  1446. "state": "absent"
  1447. }
  1448.  
  1449. TASK [deploy : Create shared symlinks] *****************************************
  1450. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:44
  1451. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/file.py
  1452. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1453. <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'"'"''
  1454. changed: [kangapestcontrol.com] => (item={u'path': u'web/app/uploads', u'src': u'uploads'}) => {
  1455. "changed": true,
  1456. "dest": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
  1457. "diff": {
  1458. "after": {
  1459. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
  1460. "state": "link"
  1461. },
  1462. "before": {
  1463. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
  1464. "state": "absent"
  1465. }
  1466. },
  1467. "gid": 33,
  1468. "group": "www-data",
  1469. "invocation": {
  1470. "module_args": {
  1471. "backup": null,
  1472. "content": null,
  1473. "delimiter": null,
  1474. "diff_peek": null,
  1475. "directory_mode": null,
  1476. "follow": false,
  1477. "force": false,
  1478. "group": null,
  1479. "mode": null,
  1480. "original_basename": null,
  1481. "owner": null,
  1482. "path": "/srv/www/kangapestcontrol.com/releases/20170412195118/web/app/uploads",
  1483. "recurse": false,
  1484. "regexp": null,
  1485. "remote_src": null,
  1486. "selevel": null,
  1487. "serole": null,
  1488. "setype": null,
  1489. "seuser": null,
  1490. "src": "/srv/www/kangapestcontrol.com/shared/uploads",
  1491. "state": "link",
  1492. "unsafe_writes": null,
  1493. "validate": null
  1494. },
  1495. "module_name": "file"
  1496. },
  1497. "item": {
  1498. "path": "web/app/uploads",
  1499. "src": "uploads"
  1500. },
  1501. "mode": "0777",
  1502. "owner": "web",
  1503. "size": 44,
  1504. "src": "/srv/www/kangapestcontrol.com/shared/uploads",
  1505. "state": "link",
  1506. "uid": 1000
  1507. }
  1508.  
  1509. TASK [deploy : include] ********************************************************
  1510. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/share.yml:51
  1511.  
  1512. TASK [deploy : include] ********************************************************
  1513. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/finalize.yml:2
  1514. included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-before.yml for kangapestcontrol.com
  1515.  
  1516. TASK [deploy : Create file with multisite constants defined as false] **********
  1517. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-before.yml:2
  1518. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/stat.py
  1519. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1520. <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'"'"''
  1521. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1522. <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'"'"''
  1523. <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
  1524. <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]'
  1525. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1526. <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'"'"''
  1527. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/files/copy.py
  1528. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1529. <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'"'"''
  1530. changed: [kangapestcontrol.com] => {
  1531. "changed": true,
  1532. "checksum": "8bb2a0204ac622d2fb2555504a365daf3e0a1de8",
  1533. "dest": "/srv/www/kangapestcontrol.com/shared/tmp_multisite_constants.php",
  1534. "gid": 33,
  1535. "group": "www-data",
  1536. "invocation": {
  1537. "module_args": {
  1538. "backup": false,
  1539. "content": null,
  1540. "delimiter": null,
  1541. "dest": "/srv/www/kangapestcontrol.com/shared/tmp_multisite_constants.php",
  1542. "directory_mode": null,
  1543. "follow": false,
  1544. "force": true,
  1545. "group": null,
  1546. "mode": null,
  1547. "original_basename": "tmp_multisite_constants.php",
  1548. "owner": null,
  1549. "regexp": null,
  1550. "remote_src": null,
  1551. "selevel": null,
  1552. "serole": null,
  1553. "setype": null,
  1554. "seuser": null,
  1555. "src": "/home/web/.ansible/tmp/ansible-tmp-1492026886.25-22956772163306/source",
  1556. "unsafe_writes": null,
  1557. "validate": null
  1558. }
  1559. },
  1560. "md5sum": "d06f446f60e9625acc75d599ae4fc930",
  1561. "mode": "0644",
  1562. "owner": "web",
  1563. "size": 202,
  1564. "src": "/home/web/.ansible/tmp/ansible-tmp-1492026886.25-22956772163306/source",
  1565. "state": "file",
  1566. "uid": 1000
  1567. }
  1568.  
  1569. TASK [deploy : WordPress Installed?] *******************************************
  1570. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-before.yml:7
  1571. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
  1572. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1573. <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'"'"''
  1574. ok: [kangapestcontrol.com] => {
  1575. "changed": false,
  1576. "cmd": [
  1577. "wp",
  1578. "core",
  1579. "is-installed",
  1580. "--skip-plugins",
  1581. "--skip-themes",
  1582. "--require=/srv/www/kangapestcontrol.com/shared/tmp_multisite_constants.php"
  1583. ],
  1584. "delta": "0:00:00.711223",
  1585. "end": "2017-04-12 19:54:48.770926",
  1586. "failed": false,
  1587. "failed_when_result": false,
  1588. "invocation": {
  1589. "module_args": {
  1590. "_raw_params": "wp core is-installed --skip-plugins --skip-themes --require=/srv/www/kangapestcontrol.com/shared/tmp_multisite_constants.php",
  1591. "_uses_shell": false,
  1592. "chdir": "/srv/www/kangapestcontrol.com/releases/20170412195118",
  1593. "creates": null,
  1594. "executable": null,
  1595. "removes": null,
  1596. "warn": true
  1597. },
  1598. "module_name": "command"
  1599. },
  1600. "rc": 1,
  1601. "start": "2017-04-12 19:54:48.059703",
  1602. "stderr": "",
  1603. "stdout": "",
  1604. "stdout_lines": [],
  1605. "warnings": []
  1606. }
  1607.  
  1608. TASK [deploy : Finalize the deploy] ********************************************
  1609. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/finalize.yml:8
  1610. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/extras/web_infrastructure/deploy_helper.py
  1611. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1612. <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'"'"''
  1613. changed: [kangapestcontrol.com] => {
  1614. "changed": true,
  1615. "invocation": {
  1616. "module_args": {
  1617. "backup": null,
  1618. "clean": true,
  1619. "content": null,
  1620. "current_path": "current",
  1621. "delimiter": null,
  1622. "directory_mode": null,
  1623. "follow": false,
  1624. "force": null,
  1625. "group": null,
  1626. "keep_releases": 5,
  1627. "mode": null,
  1628. "owner": null,
  1629. "path": "/srv/www/kangapestcontrol.com",
  1630. "regexp": null,
  1631. "release": "20170412195118",
  1632. "releases_path": "releases",
  1633. "remote_src": null,
  1634. "selevel": null,
  1635. "serole": null,
  1636. "setype": null,
  1637. "seuser": null,
  1638. "shared_path": "shared",
  1639. "src": null,
  1640. "state": "finalize",
  1641. "unfinished_filename": "DEPLOY_UNFINISHED",
  1642. "unsafe_writes": null
  1643. },
  1644. "module_name": "deploy_helper"
  1645. },
  1646. "state": "finalize"
  1647. }
  1648.  
  1649. TASK [deploy : include] ********************************************************
  1650. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/finalize.yml:15
  1651. included: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-after.yml for kangapestcontrol.com
  1652.  
  1653. TASK [deploy : Update WP database] *********************************************
  1654. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-after.yml:3
  1655. skipping: [kangapestcontrol.com] => {
  1656. "changed": false,
  1657. "skip_reason": "Conditional check failed",
  1658. "skipped": true
  1659. }
  1660.  
  1661. TASK [deploy : Warn about updating network database.] **************************
  1662. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-after.yml:9
  1663. skipping: [kangapestcontrol.com] => {
  1664. "changed": false,
  1665. "skip_reason": "Conditional check failed",
  1666. "skipped": true
  1667. }
  1668.  
  1669. TASK [deploy : Update WP network database] *************************************
  1670. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-after.yml:14
  1671. skipping: [kangapestcontrol.com] => {
  1672. "changed": false,
  1673. "skip_reason": "Conditional check failed",
  1674. "skipped": true
  1675. }
  1676.  
  1677. TASK [deploy : Get WP theme template root] *************************************
  1678. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-after.yml:20
  1679. skipping: [kangapestcontrol.com] => {
  1680. "changed": false,
  1681. "skip_reason": "Conditional check failed",
  1682. "skipped": true
  1683. }
  1684.  
  1685. TASK [deploy : Update WP theme paths] ******************************************
  1686. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-after.yml:28
  1687. skipping: [kangapestcontrol.com] => (item=stylesheet_root) => {
  1688. "changed": false,
  1689. "item": "stylesheet_root",
  1690. "skip_reason": "Conditional check failed",
  1691. "skipped": true
  1692. }
  1693. skipping: [kangapestcontrol.com] => (item=template_root) => {
  1694. "changed": false,
  1695. "item": "template_root",
  1696. "skip_reason": "Conditional check failed",
  1697. "skipped": true
  1698. }
  1699.  
  1700. TASK [deploy : Reload php-fpm] *************************************************
  1701. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/hooks/finalize-after.yml:39
  1702. Using module file /usr/local/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
  1703. <kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web
  1704. <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'"'"''
  1705. changed: [kangapestcontrol.com] => {
  1706. "changed": true,
  1707. "cmd": "sudo service php7.1-fpm reload",
  1708. "delta": "0:00:00.048355",
  1709. "end": "2017-04-12 19:54:51.213565",
  1710. "invocation": {
  1711. "module_args": {
  1712. "_raw_params": "sudo service php7.1-fpm reload",
  1713. "_uses_shell": true,
  1714. "chdir": null,
  1715. "creates": null,
  1716. "executable": null,
  1717. "removes": null,
  1718. "warn": false
  1719. },
  1720. "module_name": "command"
  1721. },
  1722. "rc": 0,
  1723. "start": "2017-04-12 19:54:51.165210",
  1724. "stderr": "",
  1725. "stdout": "",
  1726. "stdout_lines": [],
  1727. "warnings": []
  1728. }
  1729.  
  1730. TASK [deploy : debug] **********************************************************
  1731. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/finalize.yml:21
  1732. master@0111fa9 deployed as release 20170412195118
  1733. ok: [kangapestcontrol.com] => {}
  1734.  
  1735. TASK [deploy : include] ********************************************************
  1736. task path: /Users/spencerhill/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/main.yml:15
  1737.  
  1738. PLAY RECAP *********************************************************************
  1739. kangapestcontrol.com : ok=31 changed=18 unreachable=0 failed=0
  1740. localhost : ok=0 changed=0 unreachable=0 failed=0
  1741.  
  1742. ➜ trellis git:(master) ✗
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement