Create the local folder for gitolite3 and put it our hook
This commit is contained in:
parent
40536895b3
commit
3aa0d39237
1 changed files with 11 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue