Try adding a custom cgit header for staging.
This commit is contained in:
parent
f4a1646d89
commit
fbccedc4e6
3 changed files with 10 additions and 0 deletions
|
@ -8,6 +8,9 @@ cache-size=1000
|
||||||
# Specify some default clone prefixes
|
# Specify some default clone prefixes
|
||||||
clone-prefix=git://pkgs.fedoraproject.org ssh://pkgs.fedoraproject.org http://pkgs.fedoraproject.org/git
|
clone-prefix=git://pkgs.fedoraproject.org ssh://pkgs.fedoraproject.org http://pkgs.fedoraproject.org/git
|
||||||
|
|
||||||
|
# Some header information to throw at the top of each page.
|
||||||
|
header=/usr/share/cgit/cgit-header-fedora.html
|
||||||
|
|
||||||
# Specify the css url
|
# Specify the css url
|
||||||
css=/cgit-data/cgit.css
|
css=/cgit-data/cgit.css
|
||||||
|
|
||||||
|
|
|
@ -219,6 +219,12 @@
|
||||||
notify:
|
notify:
|
||||||
- restart httpd
|
- restart httpd
|
||||||
|
|
||||||
|
- name: install our custom header for cgit
|
||||||
|
template: cgit-header.html dest=/usr/share/cgit/cgit-header-fedora.html
|
||||||
|
tags: distgit
|
||||||
|
notify:
|
||||||
|
- restart httpd
|
||||||
|
|
||||||
- name: install the CGit-related httpd config
|
- name: install the CGit-related httpd config
|
||||||
copy: src=redirect.conf dest=/etc/httpd/conf.d/pkgs.fedoraproject.org/redirect.conf
|
copy: src=redirect.conf dest=/etc/httpd/conf.d/pkgs.fedoraproject.org/redirect.conf
|
||||||
tags: distgit
|
tags: distgit
|
||||||
|
|
1
roles/distgit/templates/cgit-header.html
Normal file
1
roles/distgit/templates/cgit-header.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<p>This is a test. The environment is {{env}}.</p>
|
Loading…
Add table
Add a link
Reference in a new issue