## {{ ansible_managed }} css=/cgit.css {% if 'logo' in item.value.http %} logo=/logo.png {% else %} logo=/cgit.png {% endif %} {% if 'title' in item.value.http %} root-title={{ item.value.http.title }} {% endif %} {% if 'description' in item.value.http %} root-desc={{ item.value.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://{{ item.value.user | default('git-' + item.key) }}@{{ item.value.http.hostnames[0] }}{% if ansible_port is defined %}:{{ ansible_port }}{% endif %}/$CGIT_REPO_URL{% if item.value.http.enable_git_backend | default(false) %} https://{{ item.value.http.hostnames[0] }}/$CGIT_REPO_URL{% endif %} strict-export=git-daemon-export-ok scan-path={{ gitolite_base_path }}/{{ item.key }}/repositories