mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Cleaner osm-vector-maps/tasks/install.yml
This commit is contained in:
parent
5e3a0e7f34
commit
2fc24a70c8
1 changed files with 4 additions and 4 deletions
|
@ -44,23 +44,23 @@
|
||||||
# 2020-01-27: See #2197 "OSM Install Errors" -- should the following 4 stanzas
|
# 2020-01-27: See #2197 "OSM Install Errors" -- should the following 4 stanzas
|
||||||
# be restored to enable-or-disable.yml ? What fix is best short/long term?
|
# be restored to enable-or-disable.yml ? What fix is best short/long term?
|
||||||
|
|
||||||
- name: Copy countries.json (geojson) to {{ vector_map_path }}/maplist/assets
|
- name: Copy countries.json (geojson) into {{ vector_map_path }}/maplist/assets/
|
||||||
copy:
|
copy:
|
||||||
src: countries.json
|
src: countries.json
|
||||||
dest: "{{ vector_map_path }}/maplist/assets" # /library/www/osm-vector-maps
|
dest: "{{ vector_map_path }}/maplist/assets" # /library/www/osm-vector-maps
|
||||||
|
|
||||||
# It is too complicated to use a single file for both iiab and admin-console
|
# It is too complicated to use a single file for both iiab and admin-console
|
||||||
- name: Copy map_functions.js (duplicated JavaScript) to {{ vector_map_path }}/maplist/assets
|
- name: Copy map_functions.js (duplicated JavaScript) into {{ vector_map_path }}/maplist/assets/
|
||||||
copy:
|
copy:
|
||||||
src: map_functions.js
|
src: map_functions.js
|
||||||
dest: "{{ vector_map_path }}/maplist/assets" # /library/www/osm-vector-maps
|
dest: "{{ vector_map_path }}/maplist/assets" # /library/www/osm-vector-maps
|
||||||
|
|
||||||
- name: Install {{ vector_map_path }}/maplist/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:
|
template:
|
||||||
src: index.html
|
src: index.html
|
||||||
dest: "{{ vector_map_path }}/maplist/index.html" # /library/www/osm-vector-maps
|
dest: "{{ vector_map_path }}/maplist/index.html" # /library/www/osm-vector-maps
|
||||||
|
|
||||||
- name: Install {{ vector_map_path }}/index.html redirect for http://box/maps -> http://box/osm-vector-maps
|
- name: "Copy test-index.redirect to {{ vector_map_path }}/index.html, for redirect: http://box/maps/ -> http://box/osm-vector-maps/"
|
||||||
copy:
|
copy:
|
||||||
force: no
|
force: no
|
||||||
src: test-index.redirect
|
src: test-index.redirect
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue