ansistrano / deploy

Ansible role to deploy scripting applications like PHP, Python, Ruby, etc. in a capistrano style
https://ansistrano.com
MIT License
2.37k stars 343 forks source link

HTTPS certificate expired #330

Closed polmartinez closed 5 years ago

polmartinez commented 5 years ago

Screen Shot 2019-07-24 at 13 04 37

qcho commented 5 years ago

It breaks the deploy

TASK [ansistrano.deploy : ANSISTRANO | Send anonymous stats] ***********************************************************************************************************
fatal: [example.com]: FAILED! => {"changed": false, "msg": "Failed to validate the SSL certificate for ansistrano.com:443. Make sure your managed systems have a valid CA certificate installed. You can use validate_certs=False if you do not need to confirm the servers 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 exception msg was: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)."}

workaround:

As mentioned in the error it breaks in "Send anonymous stats" task.

ansistrano_allow_anonymous_stats: no