octavia/playbooks/image-build/post.yaml

10 lines
261 B
YAML

- hosts: all
name: Copy image
tasks:
- synchronize:
dest: "{{ zuul.executor.work_root }}/artifacts/"
mode: pull
src: "{{ ansible_user_dir }}/test-images"
verify_host: true
rsync_opts:
- "--exclude=/*/*/"