mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
test menu for osm should be in console
This commit is contained in:
parent
161ed6f99f
commit
d43bd64c0c
2 changed files with 0 additions and 17 deletions
|
@ -5,5 +5,4 @@ osm_vector_path: '{{ content_base }}/www/osm-vector'
|
||||||
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
|
# All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml
|
||||||
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
|
# If nec, change them by editing /etc/iiab/local_vars.yml prior to installing!
|
||||||
|
|
||||||
menu_def_dir: '{{ doc_root }}/js-menu/menu-files/menu-defs'
|
|
||||||
iiab_osm_url : http://download.iiab.io/content/OSM/vector-tiles/maplist/hidden
|
iiab_osm_url : http://download.iiab.io/content/OSM/vector-tiles/maplist/hidden
|
||||||
|
|
|
@ -82,19 +82,3 @@
|
||||||
src: test-index.redirect
|
src: test-index.redirect
|
||||||
dest: "{{ osm_vector_path }}/index.html"
|
dest: "{{ osm_vector_path }}/index.html"
|
||||||
|
|
||||||
- name: Create a directory for map menu-def
|
|
||||||
file:
|
|
||||||
path: '{{ menu_def_dir }}'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- name: Determine status of splash menu def
|
|
||||||
stat:
|
|
||||||
path: '{{ menu_def_dir }}/en-map_test.json'
|
|
||||||
ignore_errors: True
|
|
||||||
register: menu_def
|
|
||||||
|
|
||||||
- name: Do not overwrite if it already exists
|
|
||||||
copy:
|
|
||||||
src: en-map_test.json
|
|
||||||
dest: '{{ menu_def_dir }}/en-map_test.json'
|
|
||||||
when: menu_def.stat.exists is defined and not menu_def.stat.exists
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue