summaryrefslogtreecommitdiffstats
path: root/roles/git
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-06-10 18:40:11 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-10 18:52:26 +0200
commit73599908e712fee3d2b737b8c6cdcb8694e712c2 (patch)
treed9cadbdf9f68764dea5b88f001cd6947187bfab0 /roles/git
parentf24f936c69ee97cca6095923549430cb6d510320 (diff)
gitweb: Explicitely install FCGI.
Diffstat (limited to 'roles/git')
-rw-r--r--roles/git/tasks/gitweb.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/git/tasks/gitweb.yml b/roles/git/tasks/gitweb.yml
index 3ecbdd6..e0aaa4f 100644
--- a/roles/git/tasks/gitweb.yml
+++ b/roles/git/tasks/gitweb.yml
@@ -1,24 +1,25 @@
- name: Install gitweb
apt: pkg={{ item }}
with_items:
- gitweb
+ - libfcgi-perl
# for git-http-backend
- fcgiwrap
- name: Configure gitweb
copy: src=etc/gitweb.conf
dest=/etc/gitweb.conf
owner=root group=root
mode=0644
notify:
- Restart gitweb
- name: Create a user 'gitweb'
user: name=gitweb system=yes
home=/var/www
shell=/usr/sbin/nologin
password=!
state=present
- name: Add 'gitweb' & 'www-data' to the group 'gitolite'
user: name={{ item }} groups=gitolite append=yes