Skip to content

Instantly share code, notes, and snippets.

@s3w47m88
Created April 10, 2017 03:26
Show Gist options
  • Select an option

  • Save s3w47m88/c3cf6f1fa45f598af29fdc08b2d46191 to your computer and use it in GitHub Desktop.

Select an option

Save s3w47m88/c3cf6f1fa45f598af29fdc08b2d46191 to your computer and use it in GitHub Desktop.
./bin/deploy.sh staging kangapestcontrol.com
trellis git:(master) ✗ ./bin/deploy.sh staging kangapestcontrol.com
PLAY [Ensure necessary variables are defined] **********************************
TASK [Ensure environment is defined] *******************************************
skipping: [localhost]
PLAY [Test Connection] *********************************************************
TASK [connection : Require manual definition of remote-user] *******************
skipping: [staging.kangapestcontrol.com]
TASK [connection : Specify preferred HostKeyAlgorithms for unknown hosts] ******
skipping: [staging.kangapestcontrol.com]
TASK [connection : Check whether Ansible can connect as web] *******************
ok: [staging.kangapestcontrol.com -> localhost]
TASK [connection : Warn about change in host keys] *****************************
skipping: [staging.kangapestcontrol.com]
TASK [connection : Set remote user for each host] ******************************
skipping: [staging.kangapestcontrol.com]
TASK [connection : Announce which user was selected] ***************************
skipping: [staging.kangapestcontrol.com]
TASK [connection : Load become password] ***************************************
skipping: [staging.kangapestcontrol.com]
PLAY [Deploy WP site] **********************************************************
TASK [setup] *******************************************************************
ok: [staging.kangapestcontrol.com]
TASK [Ensure site is valid] ****************************************************
skipping: [staging.kangapestcontrol.com]
TASK [Ensure repo is valid] ****************************************************
skipping: [staging.kangapestcontrol.com]
TASK [deploy : include] ********************************************************
TASK [deploy : include] ********************************************************
TASK [deploy : Initialize] *****************************************************
ok: [staging.kangapestcontrol.com]
TASK [deploy : include] ********************************************************
TASK [deploy : include] ********************************************************
TASK [deploy : Add known_hosts] ************************************************
ok: [staging.kangapestcontrol.com] => (item=github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==)
ok: [staging.kangapestcontrol.com] => (item=bitbucket.org ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y3rJZtnqwR2qOOvbwKZYKiEO1O6VqNEBxKvJJelCq0dTXWT5pbO2gDXC6h6QDXCaHo6pOHGPUy+YBaGQRGuSusMEASYiWunYN0vCAI8QaXnWMXNMdFP3jHAJH0eDsoiGnLPBlBp4TNm6rYI74nMzgz3B9IikW4WVK+dc8KZJZWYjAuORU3jc1c/NPskD2ASinf8v3xnfXeukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw==)
ok: [staging.kangapestcontrol.com] => (item=gitlab.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAfuCHKVTjquxvt6CM6tdG4SLp1Btn/nOeHHE5UOzRdf)
ok: [staging.kangapestcontrol.com] => (item=gitlab.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCsj2bNKTBSpIYDEGk9KxsGh3mySTRgMtXL583qmBpzeQ+jqCMRgBqB98u3z++J1sKlXHWfM9dyhSevkMwSbhoR8XIq/U0tCNyokEi/ueaBMCvbcTHhO7FcwzY92WK4Yt0aGROY5qX2UKSeOvuP4D6TPqKF1onrSzH9bx9XUf2lEdWT/ia1NEKjunUqu1xOB/StKDHMoX4/OKyIzuS0q/T1zOATthvasJFoPrAjkohTyaDUz2LN5JoH839hViyEG82yB+MjcFV5MU3N1l1QL3cVUCh93xSaua1N85qivl+siMkPGbO5xR/En4iEY6K2XPASUEMaieWVNTRCtJ4S8H+9)
TASK [deploy : Check whether project source path is a git repo] ****************
ok: [staging.kangapestcontrol.com]
TASK [deploy : Get current git remote URL] *************************************
ok: [staging.kangapestcontrol.com]
TASK [deploy : Update git remote URL] ******************************************
skipping: [staging.kangapestcontrol.com]
TASK [deploy : Clone project files] ********************************************
System info:
Ansible 2.2.1.0; Darwin
Trellis 1.0.0-rc.1: April 7th, 2017
---------------------------------------------------
Failed to download remote objects and refs: Warning: Permanently added the
RSA host key for IP address '192.30.255.113' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: [staging.kangapestcontrol.com]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
...ignoring
TASK [deploy : Failed connection to remote repo] *******************************
System info:
Ansible 2.2.1.0; Darwin
Trellis 1.0.0-rc.1: April 7th, 2017
---------------------------------------------------
Git repo git@github.com:s3w47m88/kangapestcontrol.com.git cannot be accessed.
Please verify the repository exists and you have SSH forwarding set up
correctly.
More info:
> https://roots.io/trellis/docs/deploys/#ssh-keys
> https://roots.io/trellis/docs/ssh-keys/#cloning-remote-repo-using-ssh-
agent-forwarding
fatal: [staging.kangapestcontrol.com]: FAILED! => {"changed": false, "failed": true}
to retry, use: --limit @/Users/spencerhill/Sites/kangapestcontrol.com/trellis/deploy.retry
PLAY RECAP *********************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=0
staging.kangapestcontrol.com : ok=7 changed=0 unreachable=0 failed=1
➜ trellis git:(master) ✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment