Allow venv python interpreter to be overridden
Change-Id: I438a3b5757ba17e7e54aa9b5e03334784e5ef651
This commit is contained in:
parent
489193826e
commit
ace6eab220
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
# Set installation method
|
# Set installation method
|
||||||
placement_install_method: "source"
|
placement_install_method: "source"
|
||||||
|
placement_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}"
|
||||||
|
|
||||||
# Set the package install state for distribution and pip packages
|
# Set the package install state for distribution and pip packages
|
||||||
# Options are 'present' and 'latest'
|
# Options are 'present' and 'latest'
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
import_role:
|
import_role:
|
||||||
name: "python_venv_build"
|
name: "python_venv_build"
|
||||||
vars:
|
vars:
|
||||||
|
venv_python_executable: "{{ placement_venv_python_executable }}"
|
||||||
venv_build_constraints: "{{ placement_git_constraints }}"
|
venv_build_constraints: "{{ placement_git_constraints }}"
|
||||||
venv_build_distro_package_list: "{{ placement_devel_distro_packages }}"
|
venv_build_distro_package_list: "{{ placement_devel_distro_packages }}"
|
||||||
venv_install_destination_path: "{{ placement_bin | dirname }}"
|
venv_install_destination_path: "{{ placement_bin | dirname }}"
|
||||||
|
|
Loading…
Reference in New Issue