Unify the location of InfraRed plugin test result files

The different InfraRed plugins (Tempest, Tobiko, etc.) recollect
the testing result files to different directories in the workspace.

The default location for result files will be
'{{ inventory_dir }}/test_results' if not specified
by the --results-dir command line option.

Change-Id: I57ac3ca03cc7bd381980b5484bf7c3d9ccca56bb
This commit is contained in:
Federico Ressi 2022-03-14 14:24:41 +01:00
parent 4fbe418ec3
commit d7cd6810d5
1 changed files with 3 additions and 0 deletions

View File

@ -12,3 +12,6 @@
gather_facts: yes
tasks:
- include_role: name=tobiko-ir-run
vars:
test_collect_dir: >
{{ test_collect_dir | default(inventory_dir + '/test_results') }}