From cccf273845591b8599e4875c7f68aeb6fa12a235 Mon Sep 17 00:00:00 2001 From: George Hunt Date: Sat, 22 Aug 2020 15:11:55 -0700 Subject: [PATCH] if maps enabled, download 20MB satellite and link to installer osm --- roles/osm-vector-maps/tasks/install.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/roles/osm-vector-maps/tasks/install.yml b/roles/osm-vector-maps/tasks/install.yml index b6ab41aad..e02d99f11 100644 --- a/roles/osm-vector-maps/tasks/install.yml +++ b/roles/osm-vector-maps/tasks/install.yml @@ -181,8 +181,17 @@ - iiab-make-init.py - iiab-update-map -- name: Install the World Map to zoom 10 - shell: iiab-install-map-region +- 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