From 2fc24a70c8a2a251fcec9e60f6296ac6bd403011 Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 27 Jan 2020 02:01:55 -0500 Subject: [PATCH] Cleaner osm-vector-maps/tasks/install.yml --- roles/osm-vector-maps/tasks/install.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/osm-vector-maps/tasks/install.yml b/roles/osm-vector-maps/tasks/install.yml index f7a5d9e84..1ff98386e 100644 --- a/roles/osm-vector-maps/tasks/install.yml +++ b/roles/osm-vector-maps/tasks/install.yml @@ -44,23 +44,23 @@ # 2020-01-27: See #2197 "OSM Install Errors" -- should the following 4 stanzas # be restored to enable-or-disable.yml ? What fix is best short/long term? -- name: Copy countries.json (geojson) to {{ vector_map_path }}/maplist/assets +- name: Copy countries.json (geojson) into {{ vector_map_path }}/maplist/assets/ copy: src: countries.json dest: "{{ vector_map_path }}/maplist/assets" # /library/www/osm-vector-maps # It is too complicated to use a single file for both iiab and admin-console -- name: Copy map_functions.js (duplicated JavaScript) to {{ vector_map_path }}/maplist/assets +- name: Copy map_functions.js (duplicated JavaScript) into {{ vector_map_path }}/maplist/assets/ copy: src: map_functions.js dest: "{{ vector_map_path }}/maplist/assets" # /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 -- name: Install {{ vector_map_path }}/index.html redirect for http://box/maps -> http://box/osm-vector-maps +- name: "Copy test-index.redirect to {{ vector_map_path }}/index.html, for redirect: http://box/maps/ -> http://box/osm-vector-maps/" copy: force: no src: test-index.redirect