Make hotspot.txt a specially deployed file

This should make it more resilient to changes to the website

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2015-12-15 23:03:53 +00:00
parent 433cd51dd8
commit a3f1177b5b
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1 @@
Alias /static/hotspot.txt /srv/web/hotspot.txt

View file

@ -13,6 +13,7 @@
- languages.conf
- cache.conf
- persona.conf
- hotspot.conf
- expires.conf
- deflate.conf
notify:
@ -33,6 +34,14 @@
- fedora-web
- fedora-web/main
- name: Create a file for hotspot
copy: dest=/srv/web/hotspot.txt content="OK"
owner=root group=root mode=0644
setype=httpd_sys_content_t
tags:
- fedora-web
- fedora-web/main
- name: And, copy over a template for browserid
template: >
src=browserid.fedoraproject.org dest=/srv/web/browserid.fedoraproject.org