From 4a3f204a3d285a377161efb2dbeec73d329e6d1a Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 2 Mar 2016 21:37:48 +0100 Subject: cgit: Create cache directory /var/cache/cgit --- roles/git/tasks/cgit.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'roles/git') 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 -- cgit v1.2.3