aboutsummaryrefslogtreecommitdiffstats
path: root/roles/obsd_cgit/defaults
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-11 11:31:02 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-11 18:36:51 -0700
commit37304c0b775d3701318fcdb23f205ecddd47e6f0 (patch)
tree339d5959d031adc6bb150db5dad1907a6bbd6aa8 /roles/obsd_cgit/defaults
parentAdd support for downloading zip files of repo snapshots (diff)
downloadsite-configs-37304c0b775d3701318fcdb23f205ecddd47e6f0.zip
Adjust cgit files to be located in /htdocs/cgit
Given I want to run multiple sites from this host, this should make it a little clearer by having *most* of the related files all in one place. We still have /conf/cgitrc and /cache/cgit, but I think that is okay and clear enough.
Diffstat (limited to 'roles/obsd_cgit/defaults')
-rw-r--r--roles/obsd_cgit/defaults/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/obsd_cgit/defaults/main.yml b/roles/obsd_cgit/defaults/main.yml
index 5a4855c..77e4d4f 100644
--- a/roles/obsd_cgit/defaults/main.yml
+++ b/roles/obsd_cgit/defaults/main.yml
@@ -1,4 +1,6 @@
obsd_cgit_domain: "{{ cgit_domain }}"
+obsd_cgit_chroot: "/var/www"
# Absolute path from /var/www chroot that httpd runs in
-obsd_cgit_cache_dir: /cgit/cache
+obsd_cgit_cache_dir: /cache/cgit
obsd_cgit_repos_dir: /git/public
+obsd_cgit_htdocs_dir: /htdocs/cgit