mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
swing to osm_repo_url
This commit is contained in:
parent
6a8d50aabc
commit
73d912fb4c
1 changed files with 6 additions and 10 deletions
|
@ -26,16 +26,16 @@
|
||||||
# register: cities_installed
|
# register: cities_installed
|
||||||
|
|
||||||
# - name: If not, download {{ iiab_map_url }}/regional-resources/cities1000.sqlite to {{ vector_map_path }}/viewer/
|
# - name: If not, download {{ iiab_map_url }}/regional-resources/cities1000.sqlite to {{ vector_map_path }}/viewer/
|
||||||
- name: Download 26M {{ iiab_map_url }}/regional-resources/cities1000.sqlite to {{ vector_map_path }}/viewer/
|
- name: Download 26M {{ osm_repo_url }}/{{ maps_branch }}/resources/cities1000.sqlite to {{ vector_map_path }}/viewer/
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ iiab_map_url }}/regional-resources/cities1000.sqlite"
|
url: "{{ osm_repo_url }}/{{ maps_branch }}/resources/cities1000.sqlite"
|
||||||
dest: "{{ vector_map_path }}/viewer/"
|
dest: "{{ vector_map_path }}/viewer/"
|
||||||
timeout: "{{ download_timeout }}"
|
timeout: "{{ download_timeout }}"
|
||||||
# when: not cities_installed.stat.exists
|
# when: not cities_installed.stat.exists
|
||||||
|
|
||||||
- name: Download {{ map_catalog_url }}/map-catalog.json to {{ iiab_etc_path }}
|
- name: Download {{ osm_repo_url }}/{{ maps_branch }}/resources/map-catalog.json to {{ iiab_etc_path }}
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ map_catalog_url }}/map-catalog.json" # http://timmoody.com/iiab-files/maps
|
url: "{{ osm_repo_url }}/{{ maps_branch }}/resources/map-catalog.json"
|
||||||
dest: "{{ iiab_etc_path }}" # /etc/iiab
|
dest: "{{ iiab_etc_path }}" # /etc/iiab
|
||||||
timeout: "{{ download_timeout }}"
|
timeout: "{{ download_timeout }}"
|
||||||
|
|
||||||
|
@ -51,13 +51,9 @@
|
||||||
path: "{{ vector_map_path }}/test-page/assets/map-catalog.json"
|
path: "{{ vector_map_path }}/test-page/assets/map-catalog.json"
|
||||||
state: link
|
state: link
|
||||||
|
|
||||||
# regions.json is out of sync atm..
|
- name: Download {{ osm_repo_url }}/{{ maps_branch }}/resources/regions.json to {{ iiab_etc_path }}
|
||||||
#- name: Download {{ osm_repo_url }}/{{ maps_branch }}/resources/regions.json to {{ iiab_etc_path }}
|
|
||||||
# get_url: {{ osm_repo_url }}/{{ maps_branch }}/resources/regions.json
|
|
||||||
|
|
||||||
- name: Download {{ iiab_map_url }}/assets/regions.json to {{ iiab_etc_path }}
|
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ iiab_map_url }}/assets/regions.json"
|
url: "{{ osm_repo_url }}/{{ maps_branch }}/resources/regions.json"
|
||||||
dest: "{{ iiab_etc_path }}"
|
dest: "{{ iiab_etc_path }}"
|
||||||
timeout: "{{ download_timeout }}"
|
timeout: "{{ download_timeout }}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue