aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-04-12 11:43:11 -0400
committerbnewbold <bnewbold@robocracy.org>2016-04-12 11:43:11 -0400
commitadadc6ae3723c0a8a2619a74786cc68ed755363e (patch)
treeaf187656a1711393ad38267adb28717b7d5fad1f /roles/git
parent9bcd2adf573084bff637d660f1ad10180d6af25b (diff)
downloadinfra-adadc6ae3723c0a8a2619a74786cc68ed755363e.tar.gz
infra-adadc6ae3723c0a8a2619a74786cc68ed755363e.zip
cgit: tweak permissions so don't 'changed' so often
Diffstat (limited to 'roles/git')
-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' }