summaryrefslogtreecommitdiffstats
path: root/roles/git_repositories/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git_repositories/tasks')
-rw-r--r--roles/git_repositories/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
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