[artem@macbook:~/trellis-projects/konstantin-sorokin.com/trellis$] [master L|●2✚ 1]
15:43 $ ansible-playbook deploy.yml -e “site=konstantin-sorokin.com env=production” -vvvv
Using /Users/artem/trellis-projects/konstantin-sorokin.com/trellis/ansible.cfg as config file
Loaded callback output of type stdout, v2.0
PLAYBOOK: deploy.yml ***********************************************************
2 plays in deploy.yml
PLAY [Ensure necessary variables are defined] **********************************
TASK [Ensure environment is defined] *******************************************
task path: /Users/artem/trellis-projects/konstantin-sorokin.com/trellis/variable-check.yml:8
skipping: [localhost] => {“changed”: false, “skip_reason”: “Conditional check failed”, “skipped”: true}
PLAY [Deploy WP site] **********************************************************
TASK [setup] *******************************************************************
<semenov.ws> ESTABLISH SSH CONNECTION FOR USER: web
<semenov.ws> SSH: EXEC ssh -C -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/artem/.ansible/cp/ansible-ssh-%h-%p-%r semenov.ws ‘/bin/sh -c ‘"’"’( umask 22 && mkdir -p “echo $HOME/.ansible/tmp/ansible-tmp-1468942999.15-99595202000794
” && echo “echo $HOME/.ansible/tmp/ansible-tmp-1468942999.15-99595202000794
” )’"’"’’
<semenov.ws> PUT /var/folders/lw/4bpgcsqd4l9_5vnwmhsdffy80000gn/T/tmponyoLw TO /home/web/.ansible/tmp/ansible-tmp-1468942999.15-99595202000794/setup
<semenov.ws> SSH: EXEC sftp -b - -C -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/artem/.ansible/cp/ansible-ssh-%h-%p-%r ‘[semenov.ws]’
<semenov.ws> ESTABLISH SSH CONNECTION FOR USER: web
<semenov.ws> SSH: EXEC ssh -C -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/artem/.ansible/cp/ansible-ssh-%h-%p-%r -tt semenov.ws ‘/bin/sh -c ‘"’"‘LANG=ru_RU.UTF-8 LC_ALL=ru_RU.UTF-8 LC_MESSAGES=ru_RU.UTF-8 /usr/bin/python /home/web/.ansible/tmp/ansible-tmp-1468942999.15-99595202000794/setup; rm -rf “/home/web/.ansible/tmp/ansible-tmp-1468942999.15-99595202000794/” > /dev/null 2>&1’"’"’'
ok: [semenov.ws]
TASK [Ensure site is valid] ****************************************************
task path: /Users/artem/trellis-projects/konstantin-sorokin.com/trellis/deploy.yml:27
skipping: [semenov.ws] => {“changed”: false, “skip_reason”: “Conditional check failed”, “skipped”: true}
TASK [Ensure repo is valid] ****************************************************
task path: /Users/artem/trellis-projects/konstantin-sorokin.com/trellis/deploy.yml:33
System info:
Ansible 2.0.2.0; Darwin
Trellis at “Require Ansible 2.0.2 and remove deploy_helper”
Invalid Git repository.
Ensure that your site’s repo
variable is defined in
group_vars/production/wordpress_sites.yml
and uses the SSH format (example:
git@github.com:roots/bedrock.git)
More info:
https://roots.io/trellis/docs/deploys/
fatal: [semenov.ws]: FAILED! => {“changed”: false, “failed”: true, “invocation”: {“module_args”: {“msg”: “Invalid Git repository.\nEnsure that your site’s repo
variable is defined in group_vars/production/wordpress_sites.yml
and uses the SSH format (example: git@github.com:roots/bedrock.git)\nMore info:\n> https://roots.io/trellis/docs/deploys/\n”}, “module_name”: “fail”}}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @deploy.retry
PLAY RECAP *********************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=0
semenov.ws : ok=1 changed=0 unreachable=0 failed=1