2025-12-23 19:56:26 +08:00

12 lines
377 B
YAML

---
- name: Move files from Existing to new Site
become: yes
become_user: jingrow
command: cp -R {{ bench_path }}/sites/{{ item.0 }}/public {{ bench_path }}/sites/{{ item.0 }}/private /home/jingrow/benches/{{ item.1 }}/sites/{{ item.2 }}
with_together:
- "{{ ex_sites }}"
- "{{ new_benches }}"
- "{{ new_sites }}"
ignore_errors: yes
async: 300
poll: 5