Comment 7 for bug 1906566

Revision history for this message
Adrian Andreias (adrian-fleio) wrote :

Actually this works if bootstrap-servers is ran without ansible_python_interpreter:

virtualenv_site_packages: yes
virtualenv: /root/targethost/env
#ansible_python_interpreter: /root/targethost/env/bin/python

This creates env and the subsequent commands can be run with ansible_python_interpreter.

And this is actually specified in docs:

When executing kolla-ansible commands other than bootstrap-servers, the variable ansible_python_interpreter should be set to the python interpreter installed in virtualenv.