Artifacts directory path is now set in a variable

The artifact directory where we collect details of
the validations execution from the ansible perspective
is now set as a variable, with the default value
in defaults/main.yaml

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I52d0bf261dd8eeeeb2817cd8f833937ef3c7ab93
This commit is contained in:
Jiri Podivin 2021-05-07 10:36:57 +02:00
parent 598869bb06
commit 6dfba5189c
2 changed files with 2 additions and 1 deletions

View File

@ -2,3 +2,4 @@
src_dir: "{{ zuul.project.src_dir }}"
output_dir: "{{ ansible_user_dir }}"
log_path: "{{ zuul.executor.log_root }}"
artifacts_dir: "{{ zuul.executor.work_root }}/artifacts"

View File

@ -6,7 +6,7 @@
state: directory
with_items:
- "{{ log_path }}/validations-logs"
- "{{ zuul.executor.work_root }}/artifacts"
- "{{ artifacts_dir }}"
loop_control:
loop_var: vf_output_dir