Change to posix.synchronize for way faster transfer

This commit is contained in:
exu 2024-10-13 09:16:01 +02:00
parent 43919e263e
commit f1f2fe990a

View File

@ -37,9 +37,11 @@
tags: config
- name: Copy new files and directories
ansible.builtin.copy:
ansible.posix.synchronize:
src: "{{ item }}"
dest: "~/"
owner: false
group: false
loop:
- ".config"
- ".face"
@ -53,9 +55,11 @@
tags: config
- name: Copy new files and directories (root)
ansible.builtin.copy:
ansible.posix.synchronize:
src: "{{ item }}"
dest: "/"
owner: false
group: false
loop:
- "etc"
- "usr"