Create the local folder for gitolite3 and put it our hook

This commit is contained in:
Pierre-Yves Chibon 2015-01-22 15:39:46 +01:00
parent 40536895b3
commit 3aa0d39237

View file

@ -102,6 +102,10 @@
file: path=/etc/gitolite/logs owner=gen-acls group=packager
state=directory mode=0775
- name: create the /etc/gitolite/local/VREF directory
file: path=/etc/gitolite/local/VREF owner=gen-acls group=packager
state=directory mode=0775
- name: create /etc/gitolite/gitolite.rc
copy: src=gitolite.rc dest=/etc/gitolite/gitolite.rc owner=root group=root mode=0755
@ -126,6 +130,13 @@
- config
- distgit
- name: Create the update-block-push-origin symlink
command: ln -s /usr/share/git-core/update-block-push-origin /etc/gitolite/local/VREF/update-block-push-origin
creates=/etc/gitolite/local/VREF/update-block-push-origin
tags:
- config
- distgit
- name: install the genacls.sh script
copy: src={{item}} dest=/usr/local/bin/{{item}} mode=0755
with_items: