fa7507fd98
The add-fileserver role needs to be used by a job in a config repo as it performs local actions such as adding a host to the inventory and needs to be run on localhost. publish-artifacts-to-fileserver doesn't have any special requirements, but it's fairly useless without the first role. Change-Id: I0e37ee297b13dceb70300a4f8f4accc233254df3
12 lines
321 B
YAML
12 lines
321 B
YAML
- name: Ensure project artifact directory exists
|
|
file:
|
|
path: "{{ zuul_fileserver_project_path }}"
|
|
state: directory
|
|
recurse: yes
|
|
mode: 0775
|
|
|
|
- name: Upload contents of the artifacts folder
|
|
synchronize:
|
|
src: "{{ zuul.executor.work_root }}/artifacts/"
|
|
dest: "{{ zuul_fileserver_project_path }}/"
|