From e63885bcc0d46bfe58a32fcfc1d02daae8735929 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 31 May 2015 18:02:27 +0200 Subject: Git (gitolite + git-http-backend + gitweb) configuration By default repos are be readable by gitweb and the web server ('gitweb' and 'www-data' are both in the 'gitolite' group). Private repo owners will have 'chmod -R og-rwx' manually. To automatically add new repos to gitweb's 'project.list' file, make it readable to the special 'gitweb' user. See /usr/share/doc/gitolite3/README.txt.gz for details. --- roles/git/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 roles/git/tasks/main.yml (limited to 'roles/git/tasks/main.yml') diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml new file mode 100644 index 0000000..b5422b7 --- /dev/null +++ b/roles/git/tasks/main.yml @@ -0,0 +1,2 @@ +- include: gitolite.yml tags=gitolite +- include: gitweb.yml tags=gitweb -- cgit v1.2.3