[copr] put banner at dev instance of copr-front
This commit is contained in:
parent
636be0b7be
commit
7e414cced0
2 changed files with 12 additions and 0 deletions
8
roles/copr/frontend/files/banner-include.html
Normal file
8
roles/copr/frontend/files/banner-include.html
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<div class="page">
|
||||||
|
<h1>
|
||||||
|
Warning! This is a development server.
|
||||||
|
</h1>
|
||||||
|
<h2>
|
||||||
|
Production instance: <a href="https://copr.fedoraproject.org/">https://copr.fedoraproject.org/ </a>
|
||||||
|
</h2>
|
||||||
|
</div>
|
|
@ -87,3 +87,7 @@
|
||||||
|
|
||||||
- name: set acl for logstash to access httpd logs
|
- name: set acl for logstash to access httpd logs
|
||||||
acl: name=/var/log/httpd entity=logstash etype=user permissions=rx state=present
|
acl: name=/var/log/httpd entity=logstash etype=user permissions=rx state=present
|
||||||
|
|
||||||
|
- name: set dev banner for dev instance
|
||||||
|
when: devel
|
||||||
|
copy: src=banner-include.html dst=/var/lib/copr/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue