Add a sub-role for the bugz.fp.o redirect.
This commit is contained in:
parent
0a6f7e6f84
commit
eef051733f
2 changed files with 13 additions and 0 deletions
5
roles/packages/bugz.fp.o/files/bugz.conf
Normal file
5
roles/packages/bugz.fp.o/files/bugz.conf
Normal file
|
@ -0,0 +1,5 @@
|
|||
RewriteEngine On
|
||||
RewriteMap lowercase int:tolower
|
||||
|
||||
RewriteRule ^/(.+) https://apps.fedoraproject.org/packages/$1/bugs/all [R,L]
|
||||
RewriteRule ^/$ https://bugzilla.redhat.com/ [R,L]
|
8
roles/packages/bugz.fp.o/tasks/main.yml
Normal file
8
roles/packages/bugz.fp.o/tasks/main.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
- copy: >
|
||||
src=bugz.conf dest=/etc/httpd/conf.d/{{website}}/bugz.conf
|
||||
owner=root group=root mode=0644
|
||||
notify:
|
||||
- restart httpd
|
||||
tags:
|
||||
- packages
|
||||
- packages/proxy
|
Loading…
Add table
Add a link
Reference in a new issue