hopglass-frontend: add nginx dependency, update attribution URLs

This commit is contained in:
Alexander Dietrich 2018-11-10 00:19:54 +01:00
parent 559562cdf2
commit 8766f7b48c
3 changed files with 12 additions and 8 deletions

View file

@ -0,0 +1,3 @@
---
dependencies:
- role: nginx

View file

@ -19,14 +19,15 @@
- name: template nginx site - name: template nginx site
template: template:
src: nginx-site.j2 src: nginx-site.j2
dest: /etc/nginx/conf.d/hopglass.conf dest: /etc/nginx/sites-available/hopglass
register: nginx notify: reload nginx
- name: reload nginx - name: enable site
service: file:
name: nginx src: ../sites-available/hopglass
state: reloaded dest: /etc/nginx/sites-enabled/hopglass
when: nginx.changed state: link
notify: reload nginx
- name: template make-hopglass-frontend - name: template make-hopglass-frontend
template: template:

View file

@ -25,7 +25,7 @@
"url": "https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png", "url": "https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png",
"config": { "config": {
"maxZoom": 20, "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> &mdash; Map data &copy; <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> &mdash; Map data &copy; <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a>"
} }
} }
], ],