Switch static-special from copy to synchronize
According to notes in the Ansible documentation for the copy module, it "does not scale to lots (>hundreds) of files." Several of the 5 sites currently relying on the publish/static-special playbook have content numbering in the thousands of files. Other sites on the same server instead rely on the publish/static playbook which already uses synchronize instead of copy, so this should be entirely compatible. Change-Id: Iac85d906ae7c7a4666d7a5eeaa73b5a9f2ac7115
This commit is contained in:
parent
022d7f6a58
commit
22a7de26e1
@ -14,7 +14,7 @@
|
|||||||
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 }}/{{ static_target }}/"
|
dest: "{{ fileserver.path }}/{{ static_target }}/"
|
||||||
when: zuul_success | bool
|
when: zuul_success | bool
|
||||||
|
Loading…
Reference in New Issue
Block a user