Use synchronize to upload to static site
The copy module does not scale well to hundreds+ of files, so
switch to rsync instead.
- hosts: "{{ fileserver.fqdn }}"
gather_facts: False
tasks:
-
- name: Upload docs to static site
- copy:
+ synchronize:
src: "{{ zuul.executor.work_root }}/artifacts/"
dest: "{{ fileserver.path }}/{{ zuul.project.short_name }}/"
