Allow venv python interpreter to be overridden

Change-Id: I3c05c6e96c77f0af4421eebad51df8adc2e4f3dd
This commit is contained in:
Jonathan Rosser 2019-09-11 17:57:46 +01:00
parent 97686559e9
commit e366e4f018
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,9 @@
# Verbosity Options
debug: False
#python venv executable
ironic_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}"
# Set the host which will execute the shade modules
# for the service setup. The host must already have
# clouds.yaml properly configured.

View File

@ -66,6 +66,7 @@
import_role:
name: "python_venv_build"
vars:
venv_python_executable: "{{ ironic_venv_python_executable }}"
venv_build_constraints: "{{ ironic_git_constraints }}"
venv_build_distro_package_list: "{{ ironic_devel_distro_packages }}"
venv_install_destination_path: "{{ ironic_bin | dirname }}"