Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK: [wp-cli | Install WP-CLI tab completions] failed: #468

Closed
craigmdennis opened this issue Jan 16, 2016 · 8 comments
Closed

TASK: [wp-cli | Install WP-CLI tab completions] failed: #468

craigmdennis opened this issue Jan 16, 2016 · 8 comments

Comments

@craigmdennis
Copy link

I've followed the installation instructions for Trellis in a fresh directory and keep running into this error:

TASK: [wp-cli | Install WP-CLI tab completions] ******************************* 
failed: [default] => {"failed": true}
msg: Failed to validate the SSL certificate for raw.githubusercontent.com:443. Make sure your managed systems have a valid CA certificate installed.  If the website serving the url uses SNI you need python >= 2.7.9 on your managed machine.  You can use validate_certs=False if you do not need to confirm the server\s identity but this is unsafe and not recommended Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible

The issue seems to be related to getting a script from raw.githubusercontent.com

@craigmdennis
Copy link
Author

This may be related: ansible/ansible#11579

@swalkinshaw
Copy link
Member

What version of Python are you running? Seems like the solution is to be on >2.7.9

@craigmdennis
Copy link
Author

Running 2.7.10

@swalkinshaw
Copy link
Member

Just to confirm, you're using 2.7.10 and it's still not working?

@craigmdennis
Copy link
Author

That is correct.

@swalkinshaw
Copy link
Member

Not exactly sure what else to recommend. We've never heard of anyone else having this problem unfortunately.

@discopatrick
Copy link

Same problem here. Oddly, I didn't have the problem earlier today.

TASK [wp-cli : Install WP-CLI tab completions] *********************************
fatal: [default]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to validate the SSL certificate for raw.githubusercontent.com:443. Make sure your managed systems have a valid CA certificate installed.  If the website serving the url uses SNI you need python >= 2.7.9 on your managed machine.  You can use validate_certs=False if you do not need to confirm the server\\s identity but this is unsafe and not recommended Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible"}
$ python --version
Python 2.7.10

@discopatrick
Copy link

Oops - that was the python on my local machine. On my managed machine I actually have python 2.7.6.

If python >= 2.7.9 is a requirement of the 'Install WP-CLI tab completions' task, then perhaps this should be installed earlier in the playbook?

fullyint added a commit to fullyint/trellis that referenced this issue Jun 12, 2016
swalkinshaw added a commit that referenced this issue Jun 12, 2016
Fix #468 - Use curl to install wp-cli tab completions
jawngee added a commit to jawngee/trellis that referenced this issue Jun 17, 2016
* commit '94bedda1afb49d7da7a2e2720d545eb6df184d1b':
  Update includeSubDomains captialization
  Updated contributions link in readme to point to roots/guidelines repo
  Fix roots#468 - Use curl to install wp-cli tab completions
  Reload nginx after renew Let's Encrypt certificate
  Fix tags in the dev.yml. (roots#591)
  Fix roots#589 - Support unicode hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants