Ensure the default directory structure is created

This commit is contained in:
Pierre-Yves Chibon 2017-09-04 18:59:27 +02:00
parent 8c5b867293
commit 585dba2a76

View file

@ -113,6 +113,19 @@
- web
- 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
template: src={{ item }} dest=/etc/httpd/conf.d/{{ item }}
owner=root group=root mode=0644