From db47db18510a6f76c97c070c68a504d03d9fdddf Mon Sep 17 00:00:00 2001 From: George Hunt Date: Fri, 21 Aug 2020 13:22:12 -0700 Subject: [PATCH] change main.js to *-bundle for viewer, test-page, and installer --- roles/osm-vector-maps/tasks/install.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/osm-vector-maps/tasks/install.yml b/roles/osm-vector-maps/tasks/install.yml index 470f0cc81..4d2ac2827 100644 --- a/roles/osm-vector-maps/tasks/install.yml +++ b/roles/osm-vector-maps/tasks/install.yml @@ -49,13 +49,13 @@ dest: "{{ vector_map_path }}/maplist/assets/regions.json" 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 (test-page-bundle.js) for test page http://box/maps/maplist # At this point, fetches from github.com/georgejhunt/maps from test branch get_url: url: "{{ item }}" dest: '{{ vector_map_path }}/test-page/' with_items: - - "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/test-page/build/main.js" + - "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/test-page/build/test-page-bundle.js" - "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/test-page/build/index.html" - name: Fetch the javascript bundle with openlayers for Viewer page @@ -65,8 +65,8 @@ dest: '{{ vector_map_path }}/viewer/' with_items: - index.html - - main.js - - main.js.map + - viewer-bundle.js + - viewer-bundle.js.map - name: Get the helper files for viewer get_url: @@ -95,7 +95,7 @@ dest: '{{ vector_map_path }}/installer/' with_items: - index.html - - main.js + - installer-bundle.js - name: Fetch the action routines for installer get_url: