Allow venv python interpreter to be overridden

Change-Id: Ic88b8faa6ee52db263d36d255d03da919405dab6
This commit is contained in:
Jonathan Rosser
2019-09-11 17:42:43 +01:00
parent ef668e2400
commit c00363e3d7
2 changed files with 3 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ barbican_pip_package_state: "latest"
# Set installation method.
barbican_install_method: "source"
barbican_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}"
# Toggle keystone authentication for barbican
barbican_keystone_auth: no

View File

@@ -40,6 +40,7 @@
import_role:
name: "python_venv_build"
vars:
venv_python_executable: "{{ barbican_venv_python_executable }}"
venv_build_constraints: "{{ barbican_git_constraints }}"
venv_build_distro_package_list: "{{ barbican_devel_distro_packages }}"
venv_install_destination_path: "{{ barbican_bin | dirname }}"
@@ -53,4 +54,4 @@
- section: "barbican"
option: "venv_tag"
value: "{{ barbican_venv_tag }}"
when: barbican_install_method == 'source'
when: barbican_install_method == 'source'