mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
commit
da41c9ed23
2 changed files with 11 additions and 10 deletions
|
@ -27,10 +27,10 @@
|
||||||
when: moodle_install
|
when: moodle_install
|
||||||
tags: olpc, moodle
|
tags: olpc, moodle
|
||||||
|
|
||||||
- name: OSM_VECTOR
|
- name: OSM_VECTOR_MAPS
|
||||||
include_role:
|
include_role:
|
||||||
name: osm-vector
|
name: osm-vector-maps
|
||||||
when: osm_vector_install is defined and osm_vector_install
|
when: osm_vector_maps_install
|
||||||
tags: osm
|
tags: osm
|
||||||
|
|
||||||
# UNMAINTAINED
|
# UNMAINTAINED
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
- name: Make sure the osm-vector-maps directory exists
|
- name: Make sure the osm-vector-maps directory exists
|
||||||
file:
|
file:
|
||||||
path: '{{ vector_map_path }}/maplist/assets'
|
path: '{{ vector_map_path }}/maplist/assets'
|
||||||
state: directory
|
state: directory
|
||||||
owner: '{{ apache_user }}'
|
owner: '{{ apache_user }}'
|
||||||
|
@ -45,17 +45,18 @@
|
||||||
dest: /usr/bin/iiab-update-map
|
dest: /usr/bin/iiab-update-map
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
- name: Run the script that does osm-vector-maps housekeeping
|
# This depends on iiab-admin-console which is not yet installed
|
||||||
shell: /usr/bin/iiab-update-map
|
#- name: Run the script that does osm-vector-maps housekeeping
|
||||||
|
# shell: /usr/bin/iiab-update-map
|
||||||
|
|
||||||
- name: Copy the Countries geojson to assets
|
- name: Copy the Countries geojson to assets
|
||||||
copy:
|
copy:
|
||||||
src: countries.json
|
src: countries.json
|
||||||
dest: '{{ vector_map_path }}/maplist/assets'
|
dest: '{{ vector_map_path }}/maplist/assets'
|
||||||
|
|
||||||
# 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 the duplicated javascript to assets
|
- name: Copy the duplicated javascript to assets
|
||||||
copy:
|
copy:
|
||||||
src: map_functions.js
|
src: map_functions.js
|
||||||
dest: '{{ vector_map_path }}/maplist/assets'
|
dest: '{{ vector_map_path }}/maplist/assets'
|
||||||
|
|
||||||
|
@ -78,7 +79,7 @@
|
||||||
when: not osm_vector_maps_enabled and is_debuntu
|
when: not osm_vector_maps_enabled and is_debuntu
|
||||||
|
|
||||||
- name: Copy the redirect to the test page -- delete this if more than one map
|
- name: Copy the redirect to the test page -- delete this if more than one map
|
||||||
copy:
|
copy:
|
||||||
src: test-index.redirect
|
src: test-index.redirect
|
||||||
dest: "{{ vector_map_path }}/index.html"
|
dest: "{{ vector_map_path }}/index.html"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue