diff --git a/playbooks/manila-publish-artifacts/post.yaml b/playbooks/manila-publish-artifacts/post.yaml index 79c294f..08a5ede 100644 --- a/playbooks/manila-publish-artifacts/post.yaml +++ b/playbooks/manila-publish-artifacts/post.yaml @@ -1,7 +1,13 @@ - hosts: all name: Copy artifacts tasks: - - synchronize: + - name: Ensure artifacts directory exists + file: + path: "{{ zuul.executor.work_root }}/artifacts" + state: directory + delegate_to: localhost + - name: Collect artifacts + synchronize: dest: "{{ zuul.executor.work_root }}/artifacts/images/" mode: pull src: "{{ zuul.project.src_dir }}/images/"