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