blob: b6bc3968e627990d3c1532a8f24c2b0335869ca7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
---
- yum: name={{ item }} state=installed
with_items:
- git
- command: semanage fcontext -t git_user_content_t -a '{{ git_repositories_dir }}(/.*)?'
- file: path={{ git_repositories_dir }} state=directory
- file: path={{ git_repositories_dir }}/{{ item }} state=directory
with_items:
- public
- private
- shell: creates={{ git_repositories_dir }}/{{ item }}/config chdir={{ git_repositories_dir }}/{{ item }} git init --bare -q --shared=group
with_items:
- public
- private
|