From f1f2fe990a69e8fe71779f878b79b2d3d79a5a93 Mon Sep 17 00:00:00 2001 From: exu Date: Sun, 13 Oct 2024 09:16:01 +0200 Subject: [PATCH] Change to posix.synchronize for way faster transfer --- roles/config/tasks/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/roles/config/tasks/main.yml b/roles/config/tasks/main.yml index 965bee71..d0539112 100644 --- a/roles/config/tasks/main.yml +++ b/roles/config/tasks/main.yml @@ -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"