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
|
- pagure
|
||||||
|
|
||||||
|
|
||||||
# Set-up gitolite
|
- name: Create the "git" user
|
||||||
|
command: useradd --move-home --login git --home /srv/git/
|
||||||
- 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
|
|
||||||
creates=/srv/git/
|
creates=/srv/git/
|
||||||
tags:
|
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
|
- pagure
|
||||||
|
|
||||||
- name: create the /attachments folder
|
- name: create the /attachments folder
|
||||||
|
@ -107,19 +66,6 @@
|
||||||
# tags:
|
# tags:
|
||||||
# - gitolite
|
# - 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
|
- name: create all the directories where we store the git repos
|
||||||
file: state=directory
|
file: state=directory
|
||||||
path={{ item }}
|
path={{ item }}
|
||||||
|
@ -132,7 +78,6 @@
|
||||||
- /srv/git/repositories/requests
|
- /srv/git/repositories/requests
|
||||||
- /srv/git/remotes
|
- /srv/git/remotes
|
||||||
tags:
|
tags:
|
||||||
- gitolite
|
|
||||||
- pagure
|
- pagure
|
||||||
|
|
||||||
- name: create the /srv/tmp folder where to clone repos
|
- name: create the /srv/tmp folder where to clone repos
|
||||||
|
@ -140,7 +85,6 @@
|
||||||
path=/srv/tmp
|
path=/srv/tmp
|
||||||
owner=git group=git mode=0775
|
owner=git group=git mode=0775
|
||||||
tags:
|
tags:
|
||||||
- gitolite
|
|
||||||
- pagure
|
- pagure
|
||||||
|
|
||||||
# Set things up for the mirroring feature
|
# Set things up for the mirroring feature
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue