1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Cleaner osm-vector-maps/tasks/install.yml

This commit is contained in:
A Holt 2020-01-27 02:49:13 -05:00 committed by GitHub
parent 26eae9124b
commit b0558bb769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,12 +17,12 @@
dest: "{{ doc_root }}/common/assets/regions.json" # /library/www/html
state: link
- name: Download the JavaScript bundle with OpenLayers (main.js) for test page http://box/maps/maplist
- name: Download the JavaScript bundle with OpenLayers (main.js) into {{ vector_map_path }}/maplist/, for test page http://box/maps/maplist
get_url:
url: "{{ iiab_map_url }}/../main.js" # http://download.iiab.io/content/OSM/vector-tiles/maplist/hidden
dest: "{{ vector_map_path }}/maplist/" # /library/www/osm-vector-maps
- name: Install {{ vector_map_path }}/maplist/index.html from template, for test page http://box/maps/maplist
- name: Install {{ vector_map_path }}/maplist/index.html from template, for test page http://box/maps/maplist/
template:
src: index.html
dest: "{{ vector_map_path }}/maplist/index.html" # /library/www/osm-vector-maps
@ -60,7 +60,7 @@
src: index.html
dest: "{{ vector_map_path }}/maplist/index.html" # /library/www/osm-vector-maps
- name: "Copy test-index.redirect to {{ vector_map_path }}/index.html, for redirect: http://box/maps/ -> http://box/osm-vector-maps/"
- name: "Copy test-index.redirect to {{ vector_map_path }}/index.html, for interim redirect: http://box/maps/ -> http://box/osm-vector-maps/maplist/"
copy:
force: no
src: test-index.redirect