This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trellis git:(master) ✗ ./bin/deploy.sh staging 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] ******************* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] ******************* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK [deploy : Initialize] ***************************************************** | |
task path: /Users/s3w47m88/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/initialize.yml:8 | |
Using module file /Library/Python/2.7/site-packages/ansible/modules/extras/web_infrastructure/deploy_helper.py | |
<staging.kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web | |
<staging.kangapestcontrol.com> SSH: EXEC ssh -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/s3w47m88/.ansible/cp/ansible-ssh-%h-%p-%r staging.kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' | |
System info: | |
Ansible 2.2.2.0; Darwin | |
Trellis 1.0.0-rc.1: April 7th, 2017 | |
--------------------------------------------------- | |
MODULE FAILURE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ trellis git:(master) ✗ ./bin/deploy.sh staging 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] ******************* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK [letsencrypt : Generate the certificates] ********************************* | |
System info: | |
Ansible 2.2.2.0; Darwin | |
Trellis 1.0.0-rc.1: April 7th, 2017 | |
--------------------------------------------------- | |
fatal: [staging.kangapestcontrol.com]: FAILED! => {"changed": false, "cmd": ["./renew-certs.py"], "delta": "0:00:04.379857", "end": "2017-04-09 18:10:07.032556", "failed": true, "rc": 1, "start": "2017-04-09 18:10:02.652699", "stderr": "", "stdout": "Generating certificate for kangapestcontrol.com\nError while generating certificate for kangapestcontrol.com\nTraceback (most recent call last):\n File \"/usr/local/letsencrypt/acme_tiny.py\", line 198, in <module>\n main(sys.argv[1:])\n File \"/usr/local/letsencrypt/acme_tiny.py\", line 194, in main\n signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, log=LOGGER, CA=args.ca)\n File \"/usr/local/letsencrypt/acme_tiny.py\", line 161, in get_crt\n raise ValueError(\"Error signing certificate: {0} {1}\".format(code, result))\nValueErro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ trellis git:(master) ✗ ansible-playbook server.yml -e env=staging | |
PLAY [Ensure necessary variables are defined] ********************************** | |
TASK [Ensure environment is defined] ******************************************* | |
skipping: [localhost] | |
PLAY [Test Connection and Determine Remote User] ******************************* | |
TASK [connection : Require manual definition of remote-user] ******************* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add each host to the [production] group and to a "type" group such as [web] or [db]. | |
# List each machine only once per [group], even if it will host multiple sites. | |
[production] | |
kangapestcontrol.com | |
[web] | |
kangapestcontrol.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add each host to the [staging] group and to a "type" group such as [web] or [db]. | |
# List each machine only once per [group], even if it will host multiple sites. | |
[staging] | |
staging.kangapestcontrol.com | |
[web] | |
staging.kangapestcontrol.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Documentation: https://roots.io/trellis/docs/remote-server-setup/ | |
# `wordpress_sites` options: https://roots.io/trellis/docs/wordpress-sites | |
# Define accompanying passwords/secrets in group_vars/production/vault.yml | |
wordpress_sites: | |
kangapestcontrol.com: | |
site_hosts: | |
- canonical: kangapestcontrol.com | |
redirects: | |
- www.kangapestcontrol.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Documentation: https://roots.io/trellis/docs/remote-server-setup/ | |
# `wordpress_sites` options: https://roots.io/trellis/docs/wordpress-sites | |
# Define accompanying passwords/secrets in group_vars/staging/vault.yml | |
wordpress_sites: | |
staging.kangapestcontrol.com: | |
site_hosts: | |
- canonical: staging.kangapestcontrol.com | |
# redirects: | |
# - otherdomain.com |