summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/git_repositories/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/git_repositories/tasks/main.yml b/roles/git_repositories/tasks/main.yml
index 364c550..dd68deb 100644
--- a/roles/git_repositories/tasks/main.yml
+++ b/roles/git_repositories/tasks/main.yml
@@ -7,6 +7,11 @@
- file: path={{ git_repositories_dir }} state=directory
+- group:
+ name: "{{ item.group | default(git_default_group) }}"
+ state: present
+ with_items: git_repositories
+
- file:
path: "{{ git_repositories_dir }}/{{ item.name }}"
state: directory