Allow venv python interpreter to be overridden
Change-Id: Id0b00e8253b907da4f038316a056e7b1b28a2172
This commit is contained in:
parent
4b5901ae78
commit
7ab0e460d1
|
@ -23,6 +23,8 @@ gnocchi_identity_only: False
|
||||||
gnocchi_service_setup_host: "{{ openstack_service_setup_host | default('localhost') }}"
|
gnocchi_service_setup_host: "{{ openstack_service_setup_host | default('localhost') }}"
|
||||||
gnocchi_service_setup_host_python_interpreter: "{{ openstack_service_setup_host_python_interpreter | default((gnocchi_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_python['executable'])) }}"
|
gnocchi_service_setup_host_python_interpreter: "{{ openstack_service_setup_host_python_interpreter | default((gnocchi_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_python['executable'])) }}"
|
||||||
|
|
||||||
|
#venv python version
|
||||||
|
gnocchi_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}"
|
||||||
|
|
||||||
#: Enable for debug logging level
|
#: Enable for debug logging level
|
||||||
debug: false
|
debug: false
|
||||||
|
|
|
@ -47,6 +47,7 @@
|
||||||
import_role:
|
import_role:
|
||||||
name: "python_venv_build"
|
name: "python_venv_build"
|
||||||
vars:
|
vars:
|
||||||
|
venv_python_executable: "{{ gnocchi_venv_python_executable }}"
|
||||||
venv_build_constraints: "{{ gnocchi_git_constraints }}"
|
venv_build_constraints: "{{ gnocchi_git_constraints }}"
|
||||||
venv_install_destination_path: "{{ gnocchi_bin | dirname }}"
|
venv_install_destination_path: "{{ gnocchi_bin | dirname }}"
|
||||||
venv_install_distro_package_list: "{{ gnocchi_distro_packages }}"
|
venv_install_distro_package_list: "{{ gnocchi_distro_packages }}"
|
||||||
|
|
Loading…
Reference in New Issue