From e44510101bf8b5d05d21ef8c71be2bd91aaff994 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Sat, 13 Dec 2014 12:19:41 +0100 Subject: Make the repository belonging to a group that will be used for ACL --- roles/git_repositories/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/git_repositories/tasks') diff --git a/roles/git_repositories/tasks/main.yml b/roles/git_repositories/tasks/main.yml index bcc4628..364c550 100644 --- a/roles/git_repositories/tasks/main.yml +++ b/roles/git_repositories/tasks/main.yml @@ -11,6 +11,7 @@ path: "{{ git_repositories_dir }}/{{ item.name }}" state: directory mode: "{% if item.private is defined and item.private %}750{% else %}755{% endif %}" + group: "{{ item.group | default(git_default_group) }}" with_items: git_repositories - shell: creates={{ git_repositories_dir }}/{{ item.name }}/config chdir={{ git_repositories_dir }}/{{ item.name }} git init --bare -q --shared=group -- cgit