Renaming the gitolite user creates the /srv/git folder directly

This commit is contained in:
Pierre-Yves Chibon
2015-04-02 19:56:03 +02:00
parent 63f3d09e6d
commit 965f2f5f64

View File

@@ -22,16 +22,9 @@
- gitolite
- packages
- name: create the folder where we store the git repositories
action: file state=directory
path=/srv/git
owner=root group=root mode=0755
tags:
- gitolite
- pagure
- name: Rename the user gitolite into git
command: usermod --move-home --login git --home /srv/git/ gitolite
creates=/srv/git/
tags:
- gitolite
- pagure