summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/git/tasks/cgit.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/git/tasks/cgit.yml b/roles/git/tasks/cgit.yml
index cebcec8..df11872 100644
--- a/roles/git/tasks/cgit.yml
+++ b/roles/git/tasks/cgit.yml
@@ -33,6 +33,12 @@
notify:
- Restart uWSGI
+- name: Create cache directory /var/cache/cgit
+ file: path=/var/cache/cgit
+ state=directory
+ owner=cgit group=cgit
+ mode=0700
+
- name: Create /etc/uwsgi/apps-available/{cgit,git-http-backend}.ini
copy: src=etc/uwsgi/apps-available/{{ item }}.ini
dest=/etc/uwsgi/apps-available/{{ item }}.ini