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.
Actually this works if bootstrap-servers is ran without ansible_ python_ interpreter:
virtualenv_ site_packages: yes t/env python_ interpreter: /root/targethos t/env/bin/ python
virtualenv: /root/targethos
#ansible_
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.