mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +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
|
||||
# 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:
|
||||
src: countries.json
|
||||
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
|
||||
- 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:
|
||||
src: map_functions.js
|
||||
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:
|
||||
src: index.html
|
||||
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:
|
||||
force: no
|
||||
src: test-index.redirect
|
||||
|
|
Loading…
Reference in a new issue