Allow venv python interpreter to be overridden

Change-Id: Idf31f0a3cda2932ba041defef803ac66c88a2e8e
This commit is contained in:
Jonathan Rosser 2019-09-11 22:02:17 +01:00 committed by Dmitriy Rabotyagov (noonedeadpunk)
parent 7cb2d444c0
commit 5425851cf3
2 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,9 @@ zun_ceilometer_enabled: False
## Verbosity Options
debug: False
#python venv executable
zun_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}"
# Set the host which will execute the shade modules
# for the service setup. The host must already have
# clouds.yaml properly configured.

View File

@ -36,6 +36,7 @@
import_role:
name: "python_venv_build"
vars:
venv_python_executable: "{{ zun_venv_python_executable }}"
venv_build_constraints: "{{ zun_git_constraints }}"
venv_install_destination_path: "{{ zun_bin | dirname }}"
venv_install_distro_package_list: "{{ zun_distro_packages }}"