From b0558bb7690914ea6e19a457bb350f02065a582e Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 27 Jan 2020 02:49:13 -0500 Subject: [PATCH] Cleaner osm-vector-maps/tasks/install.yml --- roles/osm-vector-maps/tasks/install.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/osm-vector-maps/tasks/install.yml b/roles/osm-vector-maps/tasks/install.yml index 1ff98386e..d43cfbce4 100644 --- a/roles/osm-vector-maps/tasks/install.yml +++ b/roles/osm-vector-maps/tasks/install.yml @@ -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