Pagure: remove install of gitolite
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
bbe8b0784b
commit
792deadf51
1 changed files with 2 additions and 58 deletions
|
@ -47,51 +47,10 @@
|
|||
- pagure
|
||||
|
||||
|
||||
# Set-up gitolite
|
||||
|
||||
- name: install needed packages
|
||||
package: name=gitolite3 state=present
|
||||
tags:
|
||||
- pagure
|
||||
- gitolite
|
||||
- packages
|
||||
|
||||
- name: Rename the user gitolite into git
|
||||
command: usermod --move-home --login git --home /srv/git/ gitolite3
|
||||
- name: Create the "git" user
|
||||
command: useradd --move-home --login git --home /srv/git/
|
||||
creates=/srv/git/
|
||||
tags:
|
||||
- gitolite
|
||||
- pagure
|
||||
|
||||
- name: Rename the group gitolite into git
|
||||
command: groupmod --new-name git gitolite3
|
||||
creates=/srv/git/.gitolite/conf
|
||||
tags:
|
||||
- gitolite
|
||||
- pagure
|
||||
|
||||
- name: create the /srv/git/.gitolite/conf folder
|
||||
file: state=directory
|
||||
path=/srv/git/.gitolite/conf
|
||||
owner=git group=git mode=0775
|
||||
tags:
|
||||
- gitolite
|
||||
- pagure
|
||||
|
||||
- name: create the /srv/git/.gitolite/keydir folder
|
||||
file: state=directory
|
||||
path=/srv/git/.gitolite/keydir
|
||||
owner=git group=git mode=0775
|
||||
tags:
|
||||
- gitolite
|
||||
- pagure
|
||||
|
||||
- name: create the /srv/git/.gitolite/logs folder
|
||||
file: state=directory
|
||||
path=/srv/git/.gitolite/logs
|
||||
owner=git group=git mode=0775
|
||||
tags:
|
||||
- gitolite
|
||||
- pagure
|
||||
|
||||
- name: create the /attachments folder
|
||||
|
@ -107,19 +66,6 @@
|
|||
# tags:
|
||||
# - gitolite
|
||||
|
||||
- name: Adjust permissions of /srv/git/.gitolite
|
||||
file: name=/srv/git/.gitolite state=directory recurse=yes owner=git group=git
|
||||
tags:
|
||||
- gitolite
|
||||
|
||||
- name: install our own gitolite configuration
|
||||
template: src=gitolite.rc
|
||||
dest=/srv/git/.gitolite.rc
|
||||
owner=git group=git mode=0755
|
||||
tags:
|
||||
- gitolite
|
||||
- pagure
|
||||
|
||||
- name: create all the directories where we store the git repos
|
||||
file: state=directory
|
||||
path={{ item }}
|
||||
|
@ -132,7 +78,6 @@
|
|||
- /srv/git/repositories/requests
|
||||
- /srv/git/remotes
|
||||
tags:
|
||||
- gitolite
|
||||
- pagure
|
||||
|
||||
- name: create the /srv/tmp folder where to clone repos
|
||||
|
@ -140,7 +85,6 @@
|
|||
path=/srv/tmp
|
||||
owner=git group=git mode=0775
|
||||
tags:
|
||||
- gitolite
|
||||
- pagure
|
||||
|
||||
# Set things up for the mirroring feature
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue