Add a new git/server role
This will be needed to migrate Dist Git from puppet to ansible.
This commit is contained in:
parent
fed72f7ba1
commit
3cbdbf5a76
2 changed files with 32 additions and 0 deletions
16
roles/git/server/templates/git.j2
Normal file
16
roles/git/server/templates/git.j2
Normal file
|
@ -0,0 +1,16 @@
|
|||
# default: off
|
||||
# description: The git server offers access to git repositories
|
||||
service git
|
||||
{
|
||||
disable = no
|
||||
type = UNLISTED
|
||||
port = {{ git_port }}
|
||||
socket_type = stream
|
||||
wait = no
|
||||
groups = yes
|
||||
group = {{ git_group }}
|
||||
user = nobody
|
||||
server = {{ git_server }}
|
||||
server_args = {{ git_server_args }} --base-path={{ git_basepath }} --base-path-relaxed
|
||||
log_on_failure += HOST
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue