mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Lint & explain osm-vector-maps/tasks/install.yml
This commit is contained in:
parent
a1ec9e574b
commit
c0d63a0a7e
1 changed files with 8 additions and 8 deletions
|
@ -83,7 +83,7 @@
|
||||||
url: "{{ map_catalog_url }}/planet_z0-z6_2019.mbtiles"
|
url: "{{ map_catalog_url }}/planet_z0-z6_2019.mbtiles"
|
||||||
dest: "{{ vector_map_path }}/installer/"
|
dest: "{{ vector_map_path }}/installer/"
|
||||||
|
|
||||||
- name: Symlink {{ vector_map_path }}/installer/detail.mbtiles -> {{ vector_map_path }}/installer/planet_z0-z6_2019.mbtiles
|
- name: Symlink ~34MB {{ vector_map_path }}/installer/detail.mbtiles -> {{ vector_map_path }}/installer/planet_z0-z6_2019.mbtiles
|
||||||
file:
|
file:
|
||||||
src: "{{ vector_map_path }}/installer/planet_z0-z6_2019.mbtiles"
|
src: "{{ vector_map_path }}/installer/planet_z0-z6_2019.mbtiles"
|
||||||
path: "{{ vector_map_path }}/installer/detail.mbtiles"
|
path: "{{ vector_map_path }}/installer/detail.mbtiles"
|
||||||
|
@ -119,10 +119,10 @@
|
||||||
- tileserver.php
|
- tileserver.php
|
||||||
|
|
||||||
# the following was changed to grab from the iiab/maps repo
|
# the following was changed to grab from the iiab/maps repo
|
||||||
- name: Download common assets from {{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/viewer/assets/* to {{ vector_map_path }}/viewer/assets -- for the general purpose map viewer
|
- name: Download common assets from {{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/viewer/assets/* to {{ vector_map_path }}/viewer/assets/ -- for the general purpose map viewer
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/viewer/assets/{{ item }}"
|
url: "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/viewer/assets/{{ item }}"
|
||||||
dest: "{{ vector_map_path }}/viewer/assets"
|
dest: "{{ vector_map_path }}/viewer/assets/"
|
||||||
with_items:
|
with_items:
|
||||||
- bboxes.geojson
|
- bboxes.geojson
|
||||||
- center.png
|
- center.png
|
||||||
|
@ -140,19 +140,19 @@
|
||||||
- style-sat.json
|
- style-sat.json
|
||||||
- view_list.png
|
- view_list.png
|
||||||
|
|
||||||
- name: Symlink {{ vector_map_path }}/maplist/assets/bboxes.geojson -> {{ vector_map_path }}/viewer/assets/bboxes.geojson for Admin Console
|
- name: Force Symlink {{ vector_map_path }}/maplist/assets/bboxes.geojson -> {{ vector_map_path }}/viewer/assets/bboxes.geojson for Admin Console
|
||||||
file:
|
file:
|
||||||
src: "{{ vector_map_path }}/viewer/assets/bboxes.geojson"
|
src: "{{ vector_map_path }}/viewer/assets/bboxes.geojson"
|
||||||
path: "{{ vector_map_path }}/maplist/assets/bboxes.geojson"
|
path: "{{ vector_map_path }}/maplist/assets/bboxes.geojson"
|
||||||
state: link
|
state: link
|
||||||
force: True
|
force: yes
|
||||||
|
|
||||||
- name: Symlink {{ vector_map_path }}/maplist/assets/countries.json -> {{ vector_map_path }}/viewer/assets/countries.json for Admin Console
|
- name: Force Symlink {{ vector_map_path }}/maplist/assets/countries.json -> {{ vector_map_path }}/viewer/assets/countries.json for Admin Console
|
||||||
file:
|
file:
|
||||||
src: "{{ vector_map_path }}/viewer/assets/countries.json"
|
src: "{{ vector_map_path }}/viewer/assets/countries.json"
|
||||||
path: "{{ vector_map_path }}/maplist/assets/countries.json"
|
path: "{{ vector_map_path }}/maplist/assets/countries.json"
|
||||||
state: link
|
state: link
|
||||||
force: True
|
force: yes
|
||||||
|
|
||||||
- name: Copy fonts to {{ doc_root }}/common/fonts/ for the general purpose map viewer (root:root, 0644 by default)
|
- name: Copy fonts to {{ doc_root }}/common/fonts/ for the general purpose map viewer (root:root, 0644 by default)
|
||||||
copy:
|
copy:
|
||||||
|
@ -164,7 +164,7 @@
|
||||||
with_fileglob:
|
with_fileglob:
|
||||||
- fonts/*
|
- fonts/*
|
||||||
|
|
||||||
- name: Copy redirect {{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/viewer/installer-index.redirect to test page {{ vector_map_path }}/maplist/index.html
|
- name: Force Download redirect {{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/viewer/installer-index.redirect to test page {{ vector_map_path }}/maplist/index.html
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/viewer/installer-index.redirect"
|
url: "{{ osm_repo_url }}/{{ maps_branch }}/osm-source/pages/viewer/installer-index.redirect"
|
||||||
dest: "{{ vector_map_path }}/maplist/index.html"
|
dest: "{{ vector_map_path }}/maplist/index.html"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue