Ensure the default directory structure is created
This commit is contained in:
parent
8c5b867293
commit
585dba2a76
1 changed files with 13 additions and 0 deletions
|
@ -113,6 +113,19 @@
|
||||||
- web
|
- web
|
||||||
- pagure
|
- pagure
|
||||||
|
|
||||||
|
- name: create all the directories where we store the git repos
|
||||||
|
file: state=directory
|
||||||
|
path={{ item }}
|
||||||
|
owner=root group=packager mode=0775
|
||||||
|
with_items:
|
||||||
|
- /srv/git/repositories/
|
||||||
|
- /srv/git/repositories/forks
|
||||||
|
- /srv/git/repositories/requests
|
||||||
|
- /srv/git/remotes
|
||||||
|
tags:
|
||||||
|
- gitolite
|
||||||
|
- pagure
|
||||||
|
|
||||||
- name: Install the apache configuration file
|
- name: Install the apache configuration file
|
||||||
template: src={{ item }} dest=/etc/httpd/conf.d/{{ item }}
|
template: src={{ item }} dest=/etc/httpd/conf.d/{{ item }}
|
||||||
owner=root group=root mode=0644
|
owner=root group=root mode=0644
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue