Hi guys, I have a deploy issue when trying to switch to another repository.
I have added my new repo URL to wordpress_sites.yml like this:
wordpress_sites:
igsdemo.ml:
site_hosts:
- canonical: igsdemo.ml
# redirects:
# - www.igs-hcmc.de
local_path: ../site # path targeting local Bedrock site directory (relative to Ansible root)
repo: ssh://git@git.conceptual.site:2222/diffusion/1/igs.git # replace with your Git repo URL
repo_subtree_path: site # relative path to your Bedrock/WP directory in your repo
branch: master
multisite:
enabled: false
ssl:
enabled: true
provider: letsencrypt
cache:
enabled: true
All my ssh keys are added properly but when I ran deploy script, it always hang at [Clone project files] task. Here’s the full log with -vvv:
TASK [deploy : Clone project files] ********************************************
task path: /Users/conceptualcode/Workspace/igs-hcmc.de/trellis/roles/deploy/tasks/update.yml:24
Using module file /Library/Python/2.7/site-packages/ansible/modules/core/source_control/git.py
<188.166.211.104> ESTABLISH SSH CONNECTION FOR USER: web
<188.166.211.104> 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/conceptualcode/.ansible/cp/ansible-ssh-%h-%p-%r 188.166.211.104 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo ~/.ansible/tmp/ansible-tmp-1490605045.71-160687618048575 `" && echo ansible-tmp-1490605045.71-160687618048575="` echo ~/.ansible/tmp/ansible-tmp-1490605045.71-160687618048575 `" ) && sleep 0'"'"''
<188.166.211.104> PUT /var/folders/b9/y4z_l37d07n6g4q7ls6blxsc0000gn/T/tmpEz3gzr TO /home/web/.ansible/tmp/ansible-tmp-1490605045.71-160687618048575/git.py
<188.166.211.104> 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/conceptualcode/.ansible/cp/ansible-ssh-%h-%p-%r '[188.166.211.104]'
<188.166.211.104> ESTABLISH SSH CONNECTION FOR USER: web
<188.166.211.104> 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/conceptualcode/.ansible/cp/ansible-ssh-%h-%p-%r 188.166.211.104 '/bin/sh -c '"'"'chmod u+x /home/web/.ansible/tmp/ansible-tmp-1490605045.71-160687618048575/ /home/web/.ansible/tmp/ansible-tmp-1490605045.71-160687618048575/git.py && sleep 0'"'"''
<188.166.211.104> ESTABLISH SSH CONNECTION FOR USER: web
<188.166.211.104> 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/conceptualcode/.ansible/cp/ansible-ssh-%h-%p-%r -tt 188.166.211.104 '/bin/sh -c '"'"'/usr/bin/python /home/web/.ansible/tmp/ansible-tmp-1490605045.71-160687618048575/git.py; rm -rf "/home/web/.ansible/tmp/ansible-tmp-1490605045.71-160687618048575/" > /dev/null 2>&1 && sleep 0'"'"''
Do you have any ideas how I can further debug this? What are the main causes for this? Thank you.