diff --git a/roles/osm-vector-maps/tasks/main.yml b/roles/osm-vector-maps/tasks/main.yml index 4696d2c72..54efb93d2 100644 --- a/roles/osm-vector-maps/tasks/main.yml +++ b/roles/osm-vector-maps/tasks/main.yml @@ -6,7 +6,7 @@ group: '{{ apache_user }}' mode: '0755' -- name: Fetch the catalog for osm maps +- name: Download map catalog {{ iiab_map_url }}/assets/regions.json get_url: url: "{{ iiab_map_url }}/assets/regions.json" dest: '{{ vector_map_path }}/maplist/assets/' @@ -17,7 +17,7 @@ dest: "{{ doc_root }}/common/assets/regions.json" state: link -- name: Fetch the JavaScript bundle with OpenLayers for test page http://box/maps/maplist +- name: Download the JavaScript bundle with OpenLayers (main.js) for test page http://box/maps/maplist get_url: url: "{{ iiab_map_url }}/../main.js" dest: '{{ vector_map_path }}/maplist/' @@ -29,7 +29,7 @@ # Bboxes (bounding boxes) are currently square. But geofabrik has non-rectangular bboxes. # So bring the bounding box definition from cloud (bboxes.geojson is big) -- name: Fetch the bounding box description for osm maps +- name: Download all bounding box details (bboxes.geojson) get_url: url: "{{ iiab_map_url }}/assets/bboxes.geojson" dest: '{{ vector_map_path }}/maplist/assets/' @@ -39,7 +39,7 @@ name: python-geojson state: present -- name: Install the script to update osm catalog +- name: Install /usr/bin/iiab-update-map to update osm catalog template: src: iiab-update-map dest: /usr/bin/iiab-update-map @@ -78,7 +78,7 @@ state: absent when: not osm_vector_maps_enabled and is_debuntu -- name: Copy the redirect to the test page -- delete this if more than one map +- name: Copy the redirect to the test page -- delete this later if more than one map copy: src: test-index.redirect dest: "{{ vector_map_path }}/index.html"