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:
parent
433cd51dd8
commit
a3f1177b5b
2 changed files with 10 additions and 0 deletions
1
roles/fedora-web/main/files/hotspot.conf
Normal file
1
roles/fedora-web/main/files/hotspot.conf
Normal file
|
@ -0,0 +1 @@
|
|||
Alias /static/hotspot.txt /srv/web/hotspot.txt
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue