Use synchronize to upload to static site
The copy module does not scale well to hundreds+ of files, so switch to rsync instead. Change-Id: I35a006096fcded5c8e2c74d1908597e064312e04
This commit is contained in:
@@ -12,8 +12,7 @@
|
|||||||
- hosts: "{{ fileserver.fqdn }}"
|
- hosts: "{{ fileserver.fqdn }}"
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: Upload docs to static site
|
- name: Upload docs to static site
|
||||||
copy:
|
synchronize:
|
||||||
src: "{{ zuul.executor.work_root }}/artifacts/"
|
src: "{{ zuul.executor.work_root }}/artifacts/"
|
||||||
dest: "{{ fileserver.path }}/{{ zuul.project.short_name }}/"
|
dest: "{{ fileserver.path }}/{{ zuul.project.short_name }}/"
|
||||||
|
|||||||
Reference in New Issue
Block a user