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