Ansible 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.
back
1 comments
As far as I remember, if your local virtual environment is Python 3 Ansible doesn't work (might not even install).
well, 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.
Just like neokya said, you just create a Python 2 virtualenv for deployment and a Python 3 one for development.