sahara-extra/playbooks/build-artifacts/post.yaml

15 lines
365 B
YAML

- hosts: all
name: Copy artifacts
tasks:
- synchronize:
dest: "{{ zuul.executor.work_root }}/artifacts/"
mode: pull
src: "{{ ansible_user_dir }}/dist"
copy_links: true
verify_host: true
rsync_opts:
- --include=/dist/**
- --include=*/
- --exclude=*
- --prune-empty-dirs