1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

get everything into /library/osm-vector that belongs there

This commit is contained in:
George Hunt 2019-04-03 19:11:06 +01:00
parent 76980a5c57
commit 9f96b12831
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
- name: Fetch the catalog for osm maps
get_url:
url: "{{ iiab_osm_url }}/regions.json"
url: "{{ iiab_osm_url }}/assets/regions.json"
dest: '{{ doc_root }}/common/assets'
- name: Make sure the osm-vector directory exists
@ -13,18 +13,18 @@
- name: Fetch the javascript bundle with openlayers for test page
get_url:
url: "{{ iiab_osm_url }}/main.js"
url: "{{ iiab_osm_url }}/assets/main.js"
dest: '{{ osm_vector_path }}/assets'
- name: Fetch the index.html for test page
get_url:
url: "{{ iiab_osm_url }}/index.html"
dest: '{{ osm_vector_path }}/assets'
url: "{{ iiab_osm_url }}/assets/index.html.template"
dest: '{{ osm_vector_path }}/assets/index.html'
- name: Fetch the bounding box description for osm maps
get_url:
url: "{{ iiab_osm_url }}/bboxes.geojson"
dest: '{{ osm_vector_path }}/assets'
url: "{{ iiab_osm_url }}/assets/bboxes.geojson"
dest: '{{ osm_vector_path }}/assets/'
- name: Install a package that helps with geojson
package:

View file

@ -15,7 +15,7 @@ pip_packages_dir: "{{ iiab_base }}/pip-packages"
yum_packages_dir: "{{ iiab_base }}/yum-packages"
downloads_dir: "{{ iiab_base }}/downloads"
iiab_download_url: http://download.iiab.io/packages
iiab_osm_url : http://download.iiab.io/content/OSM/vector-tiles/assets
iiab_osm_url : http://download.iiab.io/content/OSM/vector-tiles
content_base: "/library"
doc_base: "{{ content_base }}/www"