- name: find artifact name | |
find: | |
paths: '{{ ansible_user_dir }}/zuul-output/artifacts' | |
patterns: '{{ artifacts.glob }}' | |
register: found_artifacts | |
- name: return artifacts to Zuul | |
zuul_return: | |
data: | |
zuul: | |
artifacts: | |
- name: '{{ artifacts.name }}' | |
url: 'artifacts/{{ item.path | basename }}' | |
loop: '{{ found_artifacts.files }}' |