4 ms·
I use ansible heavily at work which doesn't really support python 3 very well yet. If it were an app I wrote from scratchthe choice would be esi but not all the
by djhaskin987 7y ago
I use ansible heavily at work which doesn't really support python 3 very well yet. If it were an app I wrote from scratchthe choice would be esi but not all the code I work with and rely on (like ansible) was written recently or is easy to migrate.
- nitzmahone 7y agoNot sure what you mean by "doesn't support python 3 very well yet"- Ansible has had support and testing for Python 3 since Ansible 2.2, and has been officially support-with-a-capital-S Supported on Python 3 since Ansible 2.5. Using Ansible against Python3-only targets used to require manually setting ansible_python_interpreter in the inventory, but since 2.8 also supports automatic interpreter discovery.
- y4mi 7y agoYou're correct now, but it wasnt officially supported until quite recentlish. I remember reading last year on the official website that the server executing the playbook should be using python 2 And some features such as redis cache were broken on python 3
- Havoc 7y ago>easy to migrate. Yes I understand that. Legacy code is a pain. This transition is a decade in the making though. A decade. Ansible is SEVEN YEARS OLD. This is not a flaw in the python support / timing model. Decade is practically glacial in software terms. Anyone not keeping pace is on their own imo. Fun fact...py2 EOL was initially 2015. This is already the bloody extension...