From adadc6ae3723c0a8a2619a74786cc68ed755363e Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 12 Apr 2016 11:43:11 -0400 Subject: cgit: tweak permissions so don't 'changed' so often --- roles/git/tasks/cgit.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'roles') 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' } -- cgit v1.2.3