Create Pagure attachments folder

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-05-24 10:33:01 +00:00
parent bcfa71d2ab
commit f1a5412acc
2 changed files with 10 additions and 0 deletions

View file

@ -83,6 +83,13 @@
- gitolite
- pagure
- name: create the /attachments folder
file: state=diretory
path=/srv/attachments
owner=git group=git mode=0775
tags:
- pagure
- name: Adjust owner of /srv/git
file: name=/srv/git state=directory recurse=yes owner=git group=git
tags:

View file

@ -108,6 +108,9 @@ TICKETS_FOLDER = '/srv/git/repositories/tickets'
### Folder containing the clones of the remotes git repo
REMOTE_GIT_FOLDER = '/srv/git/remotes'
### Folder containing out-of-git attachments cache
ATTACHMENTS_FOLDER = '/srv/attachments'
### Configuration file for gitolite
GITOLITE_CONFIG = '/srv/git/.gitolite/conf/gitolite.conf'