mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update main.yml
This commit is contained in:
parent
153a231184
commit
beacfa0c8e
1 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
|||
group: '{{ apache_user }}'
|
||||
mode: '0755'
|
||||
|
||||
- name: Download map catalog {{ iiab_map_url }}/assets/regions.json
|
||||
- name: Download map catalog {{ iiab_map_url }}/assets/regions.json to {{ vector_map_path }}/maplist/assets/
|
||||
get_url:
|
||||
url: "{{ iiab_map_url }}/assets/regions.json"
|
||||
dest: '{{ vector_map_path }}/maplist/assets/'
|
||||
|
@ -22,14 +22,14 @@
|
|||
url: "{{ iiab_map_url }}/../main.js"
|
||||
dest: '{{ vector_map_path }}/maplist/'
|
||||
|
||||
- name: Install index.html from template, for test page http://box/maps/maplist
|
||||
- name: Install {{ vector_map_path }}/maplist/index.html from template, for test page http://box/maps/maplist
|
||||
template:
|
||||
src: "index.html"
|
||||
dest: '{{ vector_map_path }}/maplist/index.html'
|
||||
|
||||
# Bboxes (bounding boxes) are currently square. But geofabrik has non-rectangular bboxes.
|
||||
# So bring the bounding box definition from cloud (bboxes.geojson is big)
|
||||
- name: Download all bounding box details (bboxes.geojson)
|
||||
- name: Download bounding box definitions (bboxes.geojson) to {{ vector_map_path }}/maplist/assets/
|
||||
get_url:
|
||||
url: "{{ iiab_map_url }}/assets/bboxes.geojson"
|
||||
dest: '{{ vector_map_path }}/maplist/assets/'
|
||||
|
@ -39,7 +39,7 @@
|
|||
name: python-geojson
|
||||
state: present
|
||||
|
||||
- name: Install /usr/bin/iiab-update-map to update osm catalog
|
||||
- name: Install /usr/bin/iiab-update-map for updating of Map Pack catalog
|
||||
template:
|
||||
src: iiab-update-map
|
||||
dest: /usr/bin/iiab-update-map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue