From 5a7262b0376b2fd6613096b3281b82a0f744903c Mon Sep 17 00:00:00 2001
From: Tobias Manske <tobias.manske@mailbox.org>
Date: Fri, 30 Sep 2022 22:26:04 +0200
Subject: [PATCH] Only update files on checksum change

---
 coreos-config/playbook.yaml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/coreos-config/playbook.yaml b/coreos-config/playbook.yaml
index 55a9ef6..cf2717e 100644
--- a/coreos-config/playbook.yaml
+++ b/coreos-config/playbook.yaml
@@ -146,6 +146,7 @@
       loop: "{{ compose_dirs_tainted }}"
 
     - name: Copy Compose files
+      become: true
       ansible.posix.synchronize:
         src: "./render/{{ inventory_hostname }}/compose"
         dest: /home/core/
@@ -154,9 +155,9 @@
         delete: true
         recursive: true
         mode: push
-        # directory_mode: "0750"
-        # mode: "0640"
-        # owner: core
+        owner: false
+        group: false
+        perms: false
       register: compose_files
 
     - ansible.builtin.debug: