diff options
| author | 2026-10-22 20:28:49 +0000 | |
|---|---|---|
| committer | 2026-10-22 20:28:49 +0000 | |
| commit | 84682c67b65e51be9168bb87d30d31bbd6d614a5 (patch) | |
| tree | 7bcc1aaa0fdaaf494379d67694007b61462f684a /roles/cgit/templates/cgitrc-instance.j2 | |
| parent | feat: add private (diff) | |
| download | infra-84682c67b65e51be9168bb87d30d31bbd6d614a5.tar.gz | |
feat: add cgit
Diffstat (limited to 'roles/cgit/templates/cgitrc-instance.j2')
| -rw-r--r-- | roles/cgit/templates/cgitrc-instance.j2 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/cgit/templates/cgitrc-instance.j2 b/roles/cgit/templates/cgitrc-instance.j2 new file mode 100644 index 0000000..2e55b67 --- /dev/null +++ b/roles/cgit/templates/cgitrc-instance.j2 | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | {# -*- Conf -*- #} | ||
| 2 | # {{ ansible_managed }} | ||
| 3 | |||
| 4 | include=/etc/cgitrc | ||
| 5 | |||
| 6 | root-readme=/srv/http/{{ domain }}/about.html | ||
| 7 | root-title={{ root_title }} | ||
| 8 | root-desc={{ root_desc }} | ||
| 9 | |||
| 10 | module-link=https://{{ domain }}/%s/tree/?id=%s | ||
| 11 | clone-url=https://{{ domain }}/$CGIT_REPO_URL ssh://git@{{ domain }}/$CGIT_REPO_URL | ||
| 12 | |||
| 13 | scan-path={{ scan_path }} | ||
| 14 | |||
| 15 | {{ extra }} | ||
