Change to posix.synchronize for way faster transfer
This commit is contained in:
parent
43919e263e
commit
f1f2fe990a
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user