1
0
Fork 0
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:
Jerry Vonau 2022-04-25 23:29:51 -05:00
parent 6a8d50aabc
commit 73d912fb4c

View file

@ -26,16 +26,16 @@
# register: cities_installed
# - 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:
url: "{{ iiab_map_url }}/regional-resources/cities1000.sqlite"
url: "{{ osm_repo_url }}/{{ maps_branch }}/resources/cities1000.sqlite"
dest: "{{ vector_map_path }}/viewer/"
timeout: "{{ download_timeout }}"
# 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:
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
timeout: "{{ download_timeout }}"
@ -51,13 +51,9 @@
path: "{{ vector_map_path }}/test-page/assets/map-catalog.json"
state: link
# regions.json is out of sync atm..
#- 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 }}
- name: Download {{ osm_repo_url }}/{{ maps_branch }}/resources/regions.json to {{ iiab_etc_path }}
get_url:
url: "{{ iiab_map_url }}/assets/regions.json"
url: "{{ osm_repo_url }}/{{ maps_branch }}/resources/regions.json"
dest: "{{ iiab_etc_path }}"
timeout: "{{ download_timeout }}"