zuul-jobs/roles/phoronix-combine-results/tasks/fetch-result.yaml
Albin Vass bee0c6ae2f ansible-lint: use matchplay instead of matchtask
For some reason matchtask doesn't match includes, matchplay does so use
that instead.

Change-Id: I040f7f3394503e92d06c05e8ff671a43b14baebc
2020-05-05 20:42:38 +02:00

11 lines
330 B
YAML

---
- name: Create result dir
file:
path: "{{ ansible_env.HOME }}/test-results/{{ zj_artifact.url.rstrip('/')|basename }}"
state: directory
- name: Fetch artifact
get_url:
url: "{{ zj_artifact.url }}/composite.xml"
dest: "{{ ansible_env.HOME }}/test-results/{{ item.url.rstrip('/')|basename }}/composite.xml"