aboutsummaryrefslogtreecommitdiffstats
path: root/roles/obsd_cgit/tasks
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-12 10:13:14 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-12 10:13:14 -0700
commitff5984af9e869f2c07632915b11d563e0b3eb76b (patch)
treeb099c5265a761b2bb8ec8bff8c49363a9a39e223 /roles/obsd_cgit/tasks
parentDisable links and owner on index (diff)
downloadsite-configs-ff5984af9e869f2c07632915b11d563e0b3eb76b.zip
Use custom css file for cgit
Diffstat (limited to 'roles/obsd_cgit/tasks')
-rw-r--r--roles/obsd_cgit/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/obsd_cgit/tasks/main.yml b/roles/obsd_cgit/tasks/main.yml
index d04d80a..b2abe41 100644
--- a/roles/obsd_cgit/tasks/main.yml
+++ b/roles/obsd_cgit/tasks/main.yml
@@ -55,6 +55,14 @@
path: "{{ obsd_cgit_chroot }}/cgit"
state: absent
+- name: Copy customized css file into chroot
+ ansible.builtin.copy:
+ src: cgit.css
+ dest: "{{ obsd_cgit_chroot }}{{ obsd_cgit_htdocs_dir }}/cgit.css"
+ owner: www
+ group: www
+ mode: "0644"
+
- name: Copy extra html head file into chroot
ansible.builtin.copy:
src: head.html