openafs-rpm-package-build: make artifact directories

In the publish step, the unarchive role does not create these
directories.

Change-Id: I64a9307a4ffc6b03ff9f15443fffa54b6ee2140f
This commit is contained in:
Ian Wienand 2020-06-05 15:58:50 +10:00
parent 5fc86d109b
commit 3b93422450
1 changed files with 5 additions and 2 deletions

View File

@ -1,9 +1,12 @@
- hosts: localhost
tasks:
- name: Ensure artifacts directory exists
- name: Ensure artifacts directories exist
file:
state: directory
path: '{{ zuul.executor.work_root }}/artifacts/'
path: '{{ zuul.executor.work_root }}/{{ item }}'
loop:
- 'artifacts/centos7'
- 'artifacts/centos8'
# Download everything to the artifacts/ directory for publish
- name: Download centos 7 x86 artifact