Fixes tox log fetching when envlist is set to 'ALL'

Change-Id: I5cf5bbf44b9eb653856efb7e60561069f17a66d0
This commit is contained in:
Albin Vass 2019-11-28 13:11:00 +01:00 committed by Albin Vass
parent 6a53e5c79e
commit 2ad252a217
1 changed files with 2 additions and 2 deletions

View File

@ -24,12 +24,12 @@
args:
chdir: "{{ zuul_work_dir }}"
register: tox_environments
when: tox_envlist is not defined or tox_envlist == 'all'
when: tox_envlist is not defined or tox_envlist|lower == 'all'
- name: Set envlist fact
set_fact:
envlist: "{{ tox_environments.stdout_lines }}"
when: tox_envlist is not defined or tox_envlist == 'all'
when: tox_envlist is not defined or tox_envlist|lower == 'all'
- name: Collect tox logs
synchronize: