Sync is no longer loopy
Sync doesn't loop over the dir, instead it pulls all files directly. There is no need for loop in this case, as we have only one element to iterate over. Signed-off-by: Jiri Podivin <jpodivin@redhat.com> Change-Id: I05606bfdb7fb2191cfe7590a432b7817b3cb35f2
This commit is contained in:
parent
598869bb06
commit
771eacc0b6
|
@ -12,17 +12,12 @@
|
|||
|
||||
- name: Collect logs and artifacts
|
||||
synchronize:
|
||||
dest: "{{ vf_output.dest }}/"
|
||||
dest: "{{ log_path }}/validations-logs"
|
||||
mode: pull
|
||||
src: "{{ output_dir }}/{{ vf_output.src }}/"
|
||||
src: "{{ output_dir }}/artifacts/"
|
||||
verify_host: true
|
||||
owner: false
|
||||
group: false
|
||||
loop:
|
||||
- dest: "{{ log_path }}/validations-logs"
|
||||
src: "artifacts"
|
||||
loop_control:
|
||||
loop_var: vf_output
|
||||
|
||||
- name: Find validations data
|
||||
find:
|
||||
|
|
Loading…
Reference in New Issue