src.nth.io/

summaryrefslogtreecommitdiff
path: root/git/web/tasks/main.yaml
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-07-20 19:01:32 -0500
committerLuke Hoersten <[email protected]>2026-07-20 19:01:32 -0500
commit1aaf4479d72edbd0c716d2e9122a7b613626bf12 (patch)
tree4906e613e143314a40b75e3a00ac0cb32683ca8e /git/web/tasks/main.yaml
parentb15bc8b162e9aacd12c7882ddb3c8cc3ca82189b (diff)
git/web: support cgit head-include for viewport metaHEADmain
Diffstat (limited to 'git/web/tasks/main.yaml')
-rw-r--r--git/web/tasks/main.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/git/web/tasks/main.yaml b/git/web/tasks/main.yaml
index 42ea072..f5a57b6 100644
--- a/git/web/tasks/main.yaml
+++ b/git/web/tasks/main.yaml
@@ -18,7 +18,7 @@
- name: make /etc/cgit dir
become: yes
file: path="/etc/cgit" state="directory"
- when: cgit_header_src is defined or cgit_footer_src is defined
+ when: cgit_header_src is defined or cgit_footer_src is defined or cgit_head_include_src is defined
- name: install cgit custom source filter
become: yes
@@ -37,6 +37,12 @@
copy: src="{{cgit_favicon_src}}" dest="/usr/share/cgit/favicon.ico"
when: cgit_favicon_src is defined
+- name: install cgit head-include
+ become: yes
+ copy: src="{{cgit_head_include_src}}" dest="/etc/cgit/head-include.html"
+ when: cgit_head_include_src is defined
+ notify: restart fcgiwrap
+
- name: install cgit header
become: yes
copy: src="{{cgit_header_src}}" dest="/etc/cgit/header.html"