Fix tempest source install condition
Because of jinja2 templating delimiters inside when statement tempest wasn't correctly installed from source. Also condition is simplified to be more readable. install_method check works as we would like to run venv installation only for source installs, but not for the ubuntu mixed setup. Change-Id: I39332a35fb2edae65a4762fe24c5b1f8c8675a2b
This commit is contained in:
parent
55a3481cf2
commit
9cda38a6b9
|
@ -33,7 +33,7 @@
|
|||
# but then that variable must be in scope when the handler inside python_venv_build
|
||||
# runs, so it is better to duplicate the underlying condition logic
|
||||
# when: not tempest_plugin_install_source
|
||||
when: not "{{ ((tempest_install_method | default('source') == 'distro') and (ansible_os_family | lower == 'debian')) | bool }}"
|
||||
when: tempest_install_method | default('source') == 'source'
|
||||
|
||||
- name: Get tempest plugins from git
|
||||
git:
|
||||
|
|
Loading…
Reference in New Issue