Having issues deploy Trellis. The initial server setup worked just fine and everything seems to be installed on the system. The problem is when I deploy it just hangs. I see on the server that the /srv/www/mysite folder is created along with /releases and /shared folders but nothing more than that.
I am using AWS/Ubuntu and have the standard ubuntu user. I also created a user ‘web’ and created a deployid key pair. I have added the .pub to bitbucket and can, when logged in as the web user on the instance, download the repo just fine. Not sure where to look next at what might be causing problems.
Here is the output using -vvvv (I truncated output for parts which seemingly passed)
PLAY [Deploy WP site] *********************************************************
GATHERING FACTS ***************************************************************
ok: [my-ip]
TASK: [deploy | Initialize] ***************************************************
ok: [my-ip] => {"ansible_facts": {"deploy_helper": {"current_path": "/srv/www/mysite.com/current", "new_release": "20150820212103", "new_release_path": "/srv/www/mysite.com/releases/20150820212103", "previous_release": null, "previous_release_path": null, "project_path": "/srv/www/mysite.com", "releases_path": "/srv/www/mysite.com/releases", "shared_path": "/srv/www/mysite.com/shared", "unfinished_filename": "DEPLOY_UNFINISHED"}}, "changed": false, "state": "present"}
TASK: [deploy | Check whether project source path is a git repo] **************
ok: [my-ip] => {"changed": false, "stat": {"exists": false}}
TASK: [deploy | Get current git remote URL] ***********************************
skipping: [my-ip]
TASK: [deploy | Update git remote URL] ****************************************
skipping: [my-ip]
TASK: [deploy | Clone project files] ******************************************
<my-ip> ESTABLISH CONNECTION FOR USER: web
<myip> REMOTE_MODULE git repo="ssh://git@bitbucket.org:********@bitbucket.org/stringify/web-production.git" dest="/srv/www/stringify.com/shared/source" version="master" accept_hostkey=yes
<myip> EXEC ssh -C -tt -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/Users/dan/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 myip /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1440105648.19-117237565742971 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1440105648.19-117237565742971 && echo $HOME/.ansible/tmp/ansible-tmp-1440105648.19-117237565742971'
<myip> PUT /var/folders/0d/9l_nb0q52hn__xq7rdchnw640000gn/T/tmphwWtmC TO /home/web/.ansible/tmp/ansible-tmp-1440105648.19-117237565742971/git
<myip> EXEC ssh -C -tt -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/Users/dan/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 myip /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/web/.ansible/tmp/ansible-tmp-1440105648.19-117237565742971/git; rm -rf /home/web/.ansible/tmp/ansible-tmp-1440105648.19-117237565742971/ >/dev/null 2>&1'