From 9dae56969c0cb62b230ed8c3ebd692ff61987531 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Tue, 26 Apr 2016 11:49:29 +0200 Subject: [PATCH] ansible-inventories/arocom#84 Set file ACL on the bare git repository --- tasks/users.gitscript.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/users.gitscript.yml b/tasks/users.gitscript.yml index b969cb5..2577f8d 100644 --- a/tasks/users.gitscript.yml +++ b/tasks/users.gitscript.yml @@ -19,6 +19,9 @@ mode='ug+rw,o+r,o-w' recurse=yes +- name: "Extended File Modes and Ownership for Repository" + command: setfacl -dRm u:root:rwX,g:{{ drupal.src.name }}:rwX,o::rX {{ webRoot }}{{ drupal.src.git.target }} + - name: "Create Update Script" template: src='scripts/update/gitscript' -- GitLab