Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ironic since Ansible's lack of Python 3 support was due to vociferous insistence by key Ansible developers that it would be wrong even to allow the use of Ansible with Python 3 as long as popular CentOS versions did not have it.


I think the bigger reason was Ansible needed to support Python 2.4 and 2.5 for old CentOS versions, making simultaneous Python 3 support very hard. They've now dropped 2.4 and 2.5, thus allowing Python 3 compatibility.

https://github.com/ansible/ansible/pull/22721/files

(Though, it's worth noting that CentOS still does not have Python 3 support out of the box.)


I have to read it backward. Ansible is now part of RedHat. CentOS doesn't have Python 3, and some key Ansible developers have strong opinion on Ansible not supporting Python 3 in the near future. Am I reading it right?


Ansible has preliminary py3 support now. It works well enough for me on Ubuntu 16, only py3 installed.


Which version?




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: