summaryrefslogtreecommitdiff
path: root/per-service
diff options
context:
space:
mode:
Diffstat (limited to 'per-service')
-rw-r--r--per-service/git-servers/roles/cgit/files/git-logo.pngbin0 -> 1631 bytes
-rw-r--r--per-service/git-servers/roles/cgit/tasks/main.yml3
-rw-r--r--per-service/git-servers/roles/cgit/templates/cgitrc3
3 files changed, 4 insertions, 2 deletions
diff --git a/per-service/git-servers/roles/cgit/files/git-logo.png b/per-service/git-servers/roles/cgit/files/git-logo.png
new file mode 100644
index 0000000..000a6ca
--- /dev/null
+++ b/per-service/git-servers/roles/cgit/files/git-logo.png
Binary files differ
diff --git a/per-service/git-servers/roles/cgit/tasks/main.yml b/per-service/git-servers/roles/cgit/tasks/main.yml
index d3dfbac..82a6a61 100644
--- a/per-service/git-servers/roles/cgit/tasks/main.yml
+++ b/per-service/git-servers/roles/cgit/tasks/main.yml
@@ -34,6 +34,9 @@
dest={{ apache_root }}/cgit/cgit-css/cgit.css
state=link
+- name: Copy the site logo
+ copy: src=git-logo.png dest={{ apache_root }}/cgit/cgit-css/ mode=0755
+
- name: Install header.html
template: src=header.html dest={{ apache_root }}/cgit/header.html mode=0755
diff --git a/per-service/git-servers/roles/cgit/templates/cgitrc b/per-service/git-servers/roles/cgit/templates/cgitrc
index a95fd1f..b91acc5 100644
--- a/per-service/git-servers/roles/cgit/templates/cgitrc
+++ b/per-service/git-servers/roles/cgit/templates/cgitrc
@@ -4,7 +4,7 @@
# see cgitrc(5) for details
css=/cgit-css/cgit.css
-logo=/cgit-css/cgit.png
+logo=/cgit-css/git-logo.png
virtual-root=/cgit/
strict-export=git-daemon-export-ok
@@ -17,7 +17,6 @@ header={{apache_root}}/cgit/header.html
root-title={{host_site_name}}
root-desc={{host_site_desc}}
-logo=https://{{git_host}}/git-logo.png
max-repo-count=2000