mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 08:00:06 +08:00
Renaming the gitolite user creates the /srv/git folder directly
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user