1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

index order?

This commit is contained in:
Jerry Vonau 2020-01-26 04:52:04 -06:00
parent baaa17f6bb
commit 1f156d55f7

View file

@ -2,19 +2,6 @@
#- name: Run the script that does osm-vector-maps housekeeping #- name: Run the script that does osm-vector-maps housekeeping
# shell: /usr/bin/iiab-update-map # shell: /usr/bin/iiab-update-map
#- name: Does the {{ vector_map_path }}/index.html redirect already exist?
# stat:
# path: "{{ vector_map_path }}/index.html"
# register: osm_redirect
#Copy the redirect to the test page -- delete this later if more than one map
- name: Install {{ vector_map_path }}/index.html redirect for http://box/maps -> http://box/osm-vector$
copy:
force: no
src: test-index.redirect
dest: "{{ vector_map_path }}/index.html"
#when: not osm_redirect.stat.exists
- name: Copy countries.json (geojson) to {{ vector_map_path }}/maplist/assets - name: Copy countries.json (geojson) to {{ vector_map_path }}/maplist/assets
copy: copy:
src: countries.json src: countries.json
@ -25,3 +12,22 @@
copy: copy:
src: map_functions.js src: map_functions.js
dest: "{{ vector_map_path }}/maplist/assets" dest: "{{ vector_map_path }}/maplist/assets"
- 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"
#- name: Does the {{ vector_map_path }}/index.html redirect already exist?
# stat:
# path: "{{ vector_map_path }}/index.html"
# register: osm_redirect
#Copy the redirect to the test page -- delete this later if more than one map
- name: Install {{ vector_map_path }}/index.html redirect for http://box/maps -> http://box/osm-vector-maps
copy:
force: no
src: test-index.redirect
dest: "{{ vector_map_path }}/index.html"
#when: not osm_redirect.stat.exists