aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/git/tasks/cgit.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/roles/git/tasks/cgit.yml b/roles/git/tasks/cgit.yml
index b70c382..5c4663a 100644
--- a/roles/git/tasks/cgit.yml
+++ b/roles/git/tasks/cgit.yml
@@ -14,8 +14,7 @@
path=/var/cache/cgit
group=www-data
owner=www-data
- mode=0772
- recurse=yes
+ mode=0775
- name: Copy cgitrc
template: src=etc_cgitrc.j2 dest=/etc/cgitrc
@@ -34,7 +33,7 @@
- name: Upload Custom cgit Static Files (css, robots.txt, logo, etc)
copy: src={{ item.src }} dest={{ item.dest }}
group=www-data
- owner=root
+ owner=www-data
with_items:
- { src: 'robots.txt', dest: '/srv/http/cgit/robots.txt' }
- { src: 'cgit.png', dest: '/srv/http/cgit/cgit.png' }