diff --git a/playbooks/package-afs-centos/post.yaml b/playbooks/package-afs-centos/post.yaml index 7bde3e05..47bfcf74 100644 --- a/playbooks/package-afs-centos/post.yaml +++ b/playbooks/package-afs-centos/post.yaml @@ -21,6 +21,8 @@ - name: Copy RPMs back for publication when: rpms_exist.stat.exists synchronize: - src: '{{ ansible_user_dir }}/rpmbuild/RPMS/x86_64' + src: '{{ ansible_user_dir }}/rpmbuild/RPMS/x86_64/' dest: '{{ zuul.executor.work_root }}/artifacts/package-afs-centos7' mode: pull + rsync_opts: + - --delete