diff --git a/tasks/install_subapp.yml b/tasks/install_subapp.yml
index bad08ec8da6ce882fffed1229988223d8a16e96f..2e0d3400b48943e7342eb6eda1e24a520bc07d26 100644
--- a/tasks/install_subapp.yml
+++ b/tasks/install_subapp.yml
@@ -115,6 +115,12 @@
   ansible.builtin.apt:
     name: "git"
     state: latest
+# "msg": "Failed to set a new url https://git.slub-dresden.de/digital-preservation/significantproperties.git for origin:  fatal: detected dubious ownership in repository at '/usr/local/share/significantproperties'\nTo add an exception for this directory, call:\n\n\tgit config --global --add safe.directory /usr/local/share/significantproperties\n"
+- name: git konfigurieren (muss gesetzt sein, sonst wirft der nächste Task den Fehler 'detected dubious ownership in repository')
+  community.general.git_config:
+    name: "safe.directory"
+    scope: "global"
+    value: "/usr/local/share/significantproperties"
 - name: Config für Signifikante Eigenschaften einspielen
   ansible.builtin.git:
     repo: "https://git.slub-dresden.de/digital-preservation/significantproperties.git"