diff options
author | Michael Scherer <misc@zarb.org> | 2014-12-13 12:28:47 +0100 |
---|---|---|
committer | Michael Scherer <misc@zarb.org> | 2014-12-13 12:29:33 +0100 |
commit | 1ed41f8d6709ecd6eb0276103b1449c0164a9e7c (patch) | |
tree | a7c9a221a16cbe4870eaeef2a791b525417b9a92 /roles/git_repositories | |
parent | c773b103fc068a853672982219f88218aa8be20d (diff) |
Add a automated group creation snippet
Diffstat (limited to 'roles/git_repositories')
-rw-r--r-- | roles/git_repositories/tasks/main.yml | 5 |
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 |