Add a new git/server role

This will be needed to migrate Dist Git from puppet to ansible.
This commit is contained in:
Mathieu Bridon 2014-07-07 12:28:28 +02:00 committed by Kevin Fenzi
parent fed72f7ba1
commit 3cbdbf5a76
2 changed files with 32 additions and 0 deletions

View 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
}