Fetch all Validations, json and log files with CI role
Fetch the validation.json files and other validations log file to improve debuging and failures investigation. Right now, we collect only ansible artifacts. Change-Id: Icd4536cea0d83910594a52175fc31fe9a36b4659
This commit is contained in:
parent
54093ee5cb
commit
cc8369cfec
|
@ -23,3 +23,21 @@
|
|||
src: "artifacts"
|
||||
loop_control:
|
||||
loop_var: vf_output
|
||||
|
||||
- name: Find validations data
|
||||
find:
|
||||
paths: "{{ output_dir }}"
|
||||
patterns: "*.json,*.log"
|
||||
register: validation_json
|
||||
|
||||
- name: Collect Validation logs
|
||||
synchronize:
|
||||
dest: "{{ log_path }}/validations-logs/"
|
||||
mode: pull
|
||||
src: "{{ logs.path }}"
|
||||
verify_host: true
|
||||
owner: false
|
||||
group: false
|
||||
loop: "{{ validation_json.files }}"
|
||||
loop_control:
|
||||
loop_var: logs
|
||||
|
|
Loading…
Reference in New Issue