1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

move creating symbolic link to follow download per Jerry

This commit is contained in:
George Hunt 2020-08-24 16:04:41 -07:00
parent b01b3658b0
commit e7f2252d18

View file

@ -89,6 +89,19 @@
dest: '{{ vector_map_path }}/installer/detail.mbtiles'
state: link
- name: Link to the World Map to zoom 6
file:
src: '{{ vector_map_path }}/installer/planet_z0-z6_2019.mbtiles'
dest: '{{ vector_map_path }}/viewer/tiles/planet_z0-z6_2019.mbtiles'
state: link
when: osm_vector_maps_enabled | bool
- name: Copy the map abbreviated satellite images
get_url:
url: "{{ map_catalog_url }}/satellite_z0-z6_v3.mbtiles"
dest: '{{ vector_map_path }}/viewer/tiles/satellite_z0-z6_v3.mbtiles'
when: osm_vector_maps_enabled | bool
- name: Fetch the javascript bundle for map installer
get_url:
url: "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/installer/build/{{ item }}"
@ -181,19 +194,6 @@
- iiab-make-init.py
- iiab-update-map
- name: Link to the World Map to zoom 6
file:
src: '{{ vector_map_path }}/installer/planet_z0-z6_2019.mbtiles'
dest: '{{ vector_map_path }}/viewer/tiles/planet_z0-z6_2019.mbtiles'
state: link
when: osm_vector_maps_enabled | bool
- name: Copy the map abbreviated satellite images
get_url:
url: "{{ map_catalog_url }}/satellite_z0-z6_v3.mbtiles"
dest: '{{ vector_map_path }}/viewer/tiles/satellite_z0-z6_v3.mbtiles'
when: osm_vector_maps_enabled | bool
- name: Install /etc/nginx/osm-vector-maps-nginx.conf from template
template:
src: osm-vector-maps-nginx.conf.j2