1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

disambiguate maps->osm

This commit is contained in:
George Hunt 2019-03-31 20:18:46 -07:00
parent 9dc64ee611
commit 8bc1c2e01f
3 changed files with 11 additions and 11 deletions

View file

@ -1,26 +1,26 @@
- name: Fetch the javascript bundle with openlayers module, and map.js
get_url:
url: "{{ iiab_maps_url }}/map.js"
url: "{{ iiab_osm_url }}/map.js"
dest: "{{ doc_root }}/common/assets/"
- name: Fetch the catalog for maps
- name: Fetch the catalog for osm maps
get_url:
url: "{{ iiab_maps_url }}/regions.json"
url: "{{ iiab_osm_url }}/regions.json"
dest: "{{ iiab_dir }}/regions.json"
- name: Fetch the bounding box description for maps
- name: Fetch the bounding box description for osm maps
get_url:
url: "{{ iiab_maps_url }}/bboxes.geojson"
url: "{{ iiab_osm_url }}/bboxes.geojson"
dest: "{{ doc_root }}/common/assets/bboxes.geojson"
- name: Install the script to update maps from map catalog
- name: Install the script to update osm catalog
template:
src: iiab-update-maps
dest: /usr/bin/iiab-update-maps
src: iiab-update-osm
dest: /usr/bin/iiab-update-osm
mode: "0755"
- name: Generate the bounding bboxes.geojson file
shell: /usr/bin/iiab-update-maps
shell: /usr/bin/iiab-update-osm
- name: Copy the Countries geojson to assets
copy:
@ -53,7 +53,7 @@
group: '{{ apache_user }}'
mode: '0755'
- name: Copy the splash page for maps to apache root for maps
- name: Copy the splash page for osm-vector to the apache root for osm
template:
src: splash-index.html
dest: "{{ osm_vector_path }}/splash/index.html"