mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
swing regions.json to iiab/master
This commit is contained in:
parent
9910805f06
commit
8cd11af3d5
1 changed files with 7 additions and 7 deletions
|
@ -16,12 +16,6 @@
|
|||
dest: "{{ iiab_etc_path }}" # /etc/iiab
|
||||
timeout: "{{ download_timeout }}"
|
||||
|
||||
- name: Download {{ iiab_map_url }}/assets/regions.json to {{ iiab_etc_path }}
|
||||
get_url:
|
||||
url: "{{ iiab_map_url }}/assets/regions.json" # http://download.iiab.io/content/OSM/vector-tiles/maplist/hidden
|
||||
dest: "{{ iiab_etc_path }}"
|
||||
timeout: "{{ download_timeout }}"
|
||||
|
||||
# - name: Does 26M cities database {{ vector_map_path }}/viewer/cities1000.sqlite exist?
|
||||
# stat:
|
||||
# path: "{{ vector_map_path }}/viewer/cities1000.sqlite"
|
||||
|
@ -35,6 +29,13 @@
|
|||
timeout: "{{ download_timeout }}"
|
||||
# when: not cities_installed.stat.exists
|
||||
|
||||
# At this point, fetches from github.com/georgejhunt/maps from test branch
|
||||
- name: Download {{ osm_repo_url }}/{{ maps_branch }}/resources/regions.json to {{ iiab_etc_path }}
|
||||
get_url:
|
||||
url: "{{ osm_repo_url }}/master/resources/regions.json"
|
||||
dest: "{{ iiab_etc_path }}"
|
||||
timeout: "{{ download_timeout }}"
|
||||
|
||||
- name: Symlink {{ doc_root }}/common/assets/map-catalog.json -> /etc/iiab/map-catalog.json
|
||||
file:
|
||||
src: /etc/iiab/map-catalog.json
|
||||
|
@ -53,7 +54,6 @@
|
|||
path: "{{ vector_map_path }}/maplist/assets/regions.json"
|
||||
state: link
|
||||
|
||||
# At this point, fetches from github.com/georgejhunt/maps from test branch
|
||||
- name: Download OpenLayers test page stuff (JavaScript bundle etc) from {{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/test-page/build/* to {{ vector_map_path }}/test-page/ -- for test page http://box/osm-vector-maps/installer/
|
||||
get_url:
|
||||
url: "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/test-page/build/{{ item }}" # https://raw.githubusercontent.com/iiab/maps / master
|
||||
|
|
Loading…
Reference in a new issue