Allow venv python interpreter to be overridden

Change-Id: I7fd1510469359d78fa7e37e5d1c0b150c1696ebe
This commit is contained in:
Jonathan Rosser 2019-09-05 17:41:00 +01:00
parent cc6ab5ebfa
commit 5d76d689f4
2 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ neutron_package_state: "latest"
# Set installation method.
neutron_install_method: "source"
neutron_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}"
###
### Python code details

View File

@ -50,6 +50,7 @@
import_role:
name: "python_venv_build"
vars:
venv_python_executable: "{{ neutron_venv_python_executable }}"
venv_build_constraints: "{{ neutron_git_constraints }}"
venv_build_distro_package_list: "{{ neutron_devel_distro_packages }}"
venv_install_destination_path: "{{ neutron_bin | dirname }}"