Allow venv python interpreter to be overridden

Change-Id: I9d189e9e2efa18d2ee5977495deadeab1107cd47
This commit is contained in:
Jonathan Rosser 2019-09-05 17:43:46 +01:00
parent bc372732b8
commit abd30c19ca
2 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ nova_pip_package_state: "latest"
# Set installation method.
nova_install_method: "source"
nova_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}"
nova_git_repo: https://git.openstack.org/openstack/nova
nova_git_install_branch: master

View File

@ -42,6 +42,7 @@
import_role:
name: "python_venv_build"
vars:
venv_python_executable: "{{ nova_venv_python_executable }}"
venv_build_constraints: "{{ nova_git_constraints }}"
venv_build_distro_package_list: "{{ nova_devel_distro_packages }}"
venv_install_destination_path: "{{ nova_bin | dirname }}"