hopglass-frontend: add nginx dependency, update attribution URLs
This commit is contained in:
parent
559562cdf2
commit
8766f7b48c
3 changed files with 12 additions and 8 deletions
3
roles/hopglass-frontend/meta/main.yml
Normal file
3
roles/hopglass-frontend/meta/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
dependencies:
|
||||
- role: nginx
|
|
@ -19,14 +19,15 @@
|
|||
- name: template nginx site
|
||||
template:
|
||||
src: nginx-site.j2
|
||||
dest: /etc/nginx/conf.d/hopglass.conf
|
||||
register: nginx
|
||||
dest: /etc/nginx/sites-available/hopglass
|
||||
notify: reload nginx
|
||||
|
||||
- name: reload nginx
|
||||
service:
|
||||
name: nginx
|
||||
state: reloaded
|
||||
when: nginx.changed
|
||||
- name: enable site
|
||||
file:
|
||||
src: ../sites-available/hopglass
|
||||
dest: /etc/nginx/sites-enabled/hopglass
|
||||
state: link
|
||||
notify: reload nginx
|
||||
|
||||
- name: template make-hopglass-frontend
|
||||
template:
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
"url": "https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png",
|
||||
"config": {
|
||||
"maxZoom": 20,
|
||||
"attribution": "Map tiles by <a href=\"http://stamen.com\">Stamen Design</a>, <a href=\"http://creativecommons.org/licenses/by/3.0\">CC BY 3.0</a> — Map data © <a href=\"http://www.openstreetmap.org/copyright\">OpenStreetMap</a>"
|
||||
"attribution": "Map tiles by <a href=\"https://stamen.com\">Stamen Design</a>, <a href=\"https://creativecommons.org/licenses/by/3.0\">CC BY 3.0</a> — Map data © <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a>"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue