FAILED! => {"changed": false, "failed": true, "msg": "Failed to validate the SSL certificate for launchpad.net: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 managed machine is a fully patched Ubuntu 14.04 and it’s python 2.7.6
A wireshark dump of the HTTPs request should help clearing this up. Are you behind a corporate proxy which intercepts SSL? I am not sure if launchpad uses SNI, in which case Python 2.7 (<2.7.9) will just not work. Can you try this in a shell: python -c “import urllib2; print 2.urlopen(‘https://launchpad.net’).read()”
Hmm... Finally got a chance to try this out tonight. Was not able to
reproduce. I don't have a fully patched system but it is
Ubuntu-14.04.... Not sure if I have python-2.7.5 or python-2.7.6: