3 ms·
Using version 2.2?
by danielsamuels 10y ago
Using version 2.2?
- AdamN 10y agoAnsible is just a program - I'm not sure where the confusion lies. You can use Chef (Ruby) to deploy Python apps after all ... the version of Python used by Ansible is totally irrelevant to the interpreter you use for your codebase.
- danielsamuels 10y agoAs far as I remember, if your local virtual environment is Python 3 Ansible doesn't work (might not even install).
- randlet 10y agoJust like neokya said, you just create a Python 2 virtualenv for deployment and a Python 3 one for development.
- neokya 10y agowell, you can install ansible outside local virtualenv. It's a single program like Firefox, so probably you won't need different versions and could be installed as such.