ansible/roles/git/server/templates/git.j2
Mathieu Bridon 3cbdbf5a76 Add a new git/server role
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:25 +00:00

16 lines
541 B
Django/Jinja

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