[copr] put banner at dev instance of copr-front

This commit is contained in:
Valentin Gologuzov 2015-04-03 10:45:53 +02:00
parent 636be0b7be
commit 7e414cced0
2 changed files with 12 additions and 0 deletions

View 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>

View file

@ -87,3 +87,7 @@
- name: set acl for logstash to access httpd logs
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/