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:
parent
26eae9124b
commit
b0558bb769
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue