package-afs-centos: fix final copy

This is currently copying everything into

 https://tarballs.openstack.org/project-config/package-afs-centos7/x86_64/

where we don't actually want the "x86_64".  Add trailing slash so it
copies the directory contents.  Also remove any existing content with
--delete, we only want the latest.

Change-Id: I4b0fe994baaaf04db0fe552f88107d90e328f048
This commit is contained in:
Ian Wienand 2018-06-13 10:21:01 +10:00
parent d88047e779
commit 760a62eb10
1 changed files with 3 additions and 1 deletions

View File

@ -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