1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

need a menu-def for maps

This commit is contained in:
George Hunt 2019-04-03 09:50:25 -07:00
parent acce561ec9
commit 4432cec1fa
3 changed files with 23 additions and 0 deletions

View file

@ -69,3 +69,13 @@
src: splash-index.redirect
dest: "{{ osm_vector_path }}/index.html"
- name: Determine status of splash menu def
stat:
path: '{{ menu_def_dir }}/en-map_test.json'
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