News for hackers. Stuff that matters.
Re:Ansible 2.1 Released, with Network Automation, Containers by therealmarv on Thursday May 26, 2016 @10:38AM (#11778258)
I also had this problems in the past with SNI certs. Very annoying old python bug, it's possible to fix old python but this makes no sense for an Ansible deployment http://stackoverflow.com/a/29099439/756056 Better approach: Use curl to download in some temp directory/file and then extract from there. Curl does not have this errors. Example: https://github.com/ansible/ansible-modules-core/issues/1716#...

My dream would be that whole Ansible would use rockstable libcurl instead of the requests library which has problems with Certs on (not so) old python versions.

Re:Ansible 2.1 Released, with Network Automation, Containers by bcoca on Thursday May 26, 2016 @11:07AM (#11778477)
we actually avoid the requests lib for this and many other reasons, we don't use libcurl as we try to avoid extra dependencies when possible.

The issue is more basic than requests, the actual python http/url and ssl implementations have these issues, we have patched and added warnings to indicate which minimal python versions you can use and have SNI work.

Re:Ansible 2.1 Released, with Network Automation, Containers by therealmarv on Thursday May 26, 2016 @11:43AM (#11778828)
thanks for clarifying!