Allow venv python interpreter to be overridden

Change-Id: Ib1993911a076a31e421bc5a61e1d61c6ecd650e3
This commit is contained in:
Jonathan Rosser 2019-09-11 21:13:23 +01:00
parent eff5be4b99
commit 2e57a199f2
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ octavia_service_setup_host_python_interpreter: "{{ openstack_service_setup_host_
# Set installation method.
octavia_install_method: "source"
octavia_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}"
## Octavia standalone (v2)
octavia_v2: True

View File

@ -27,6 +27,7 @@
import_role:
name: "python_venv_build"
vars:
venv_python_executable: "{{ octavia_venv_python_executable }}"
venv_build_constraints: "{{ octavia_git_constraints }}"
venv_build_distro_package_list: "{{ octavia_devel_distro_packages }}"
venv_install_destination_path: "{{ octavia_bin | dirname }}"