From 0a8459bec03b433b1487b89368e69fad8d92cfd7 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Mon, 22 May 2023 17:29:11 +0200 Subject: [PATCH] Make tempest respect service_install_method For all services we do respect service_install_method vairable, and define 'source' as the default options. At the moment tempest attempts to follow source path even for distro deployments. Change-Id: I5256943b5f175cbf46ae36361887dd055e0c52be --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index b262d86a..9f7b33ad 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -22,7 +22,7 @@ stestr_executable: "{{ _stestr_executable | default('stestr') }}" # set the tempest_install_method to source or distro # on choosing source it will install from git or venv # on choosing distro it will install based on distribution -tempest_install_method: "source" +tempest_install_method: "{{ service_install_method | default('source') }}" tempest_venv_python_executable: "{{ openstack_venv_python_executable | default(_tempest_venv_python_executable) | default('python3') }}" # Set the package install state for distribution and pip packages