blob: fd3a4681823da954472aa0409985f6b67661b4ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
## {{ ansible_managed }}
css=/cgit-css/cgit.css
{% if 'logo' in gitolite_instances[gitolite_instance].http %}
logo=/logo.png
{% else %}
logo=/cgit-css/cgit.png
{% endif %}
{% if 'title' in gitolite_instances[gitolite_instance].http %}
root-title={{ gitolite_instances[gitolite_instance].http.title }}
{% endif %}
{% if 'description' in gitolite_instances[gitolite_instance].http %}
root-desc={{ gitolite_instances[gitolite_instance].http.description }}
{% endif %}
enable-blame=1
enable-commit-graph=1
enable-git-config=1
enable-index-links=1
enable-log-filecount=1
enable-log-linecount=1
enable-subject-links=1
enable-tree-linenumbers=1
virtual-root=/cgit/
source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
clone-url=ssh://git-{{ gitolite_instance }}@{{ gitolite_instances[gitolite_instance].http.hostnames[0] }}{% if ansible_port is defined %}:{{ ansible_port }}{% endif %}/$CGIT_REPO_URL{% if gitolite_instances[gitolite_instance].http.enable_git_backend | default(false) %} https://{{ gitolite_instances[gitolite_instance].http.hostnames[0] }}/$CGIT_REPO_URL{% endif %}
strict-export=git-daemon-export-ok
scan-path={{ gitolite_base_path }}/{{ gitolite_instance }}/repositories
|