Allow venv python interpreter to be overridden

Change-Id: Ifae8209a6e9354dcee551209958ce89687b01709
This commit is contained in:
Jonathan Rosser 2019-09-05 13:15:00 +01:00
parent c4efbadb0f
commit b4c97cce66
2 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ cinder_service_setup_host_python_interpreter: "{{ openstack_service_setup_host_p
# Set installation method.
cinder_install_method: "source"
cinder_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}"
cinder_git_repo: https://git.openstack.org/openstack/cinder
cinder_git_install_branch: master

View File

@ -17,6 +17,7 @@
import_role:
name: "python_venv_build"
vars:
venv_python_executable: "{{ cinder_venv_python_executable }}"
venv_build_constraints: "{{ cinder_git_constraints }}"
venv_build_distro_package_list: "{{ cinder_devel_distro_packages }}"
venv_install_destination_path: "{{ cinder_bin | dirname }}"