diff --git a/defaults/main.yml b/defaults/main.yml index e743ebcd..379c960d 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -29,6 +29,7 @@ keystone_pip_package_state: "latest" # Set installation method. keystone_install_method: "source" +keystone_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}" # Role standard API override this option in the OS variable files keystone_shibboleth_repo: {} diff --git a/tasks/keystone_install.yml b/tasks/keystone_install.yml index 5390d92e..c4cb886b 100644 --- a/tasks/keystone_install.yml +++ b/tasks/keystone_install.yml @@ -118,6 +118,7 @@ import_role: name: "python_venv_build" vars: + venv_python_executable: "{{ keystone_venv_python_executable }}" venv_build_constraints: "{{ keystone_git_constraints }}" venv_build_distro_package_list: "{{ keystone_devel_distro_packages }}" venv_install_destination_path: "{{ keystone_bin | dirname }}"