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
|
||||
tags: olpc, moodle
|
||||
|
||||
- name: OSM_VECTOR
|
||||
- name: OSM_VECTOR_MAPS
|
||||
include_role:
|
||||
name: osm-vector
|
||||
when: osm_vector_install is defined and osm_vector_install
|
||||
name: osm-vector-maps
|
||||
when: osm_vector_maps_install
|
||||
tags: osm
|
||||
|
||||
# UNMAINTAINED
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: Make sure the osm-vector-maps directory exists
|
||||
file:
|
||||
file:
|
||||
path: '{{ vector_map_path }}/maplist/assets'
|
||||
state: directory
|
||||
owner: '{{ apache_user }}'
|
||||
|
@ -45,17 +45,18 @@
|
|||
dest: /usr/bin/iiab-update-map
|
||||
mode: "0755"
|
||||
|
||||
- name: Run the script that does osm-vector-maps housekeeping
|
||||
shell: /usr/bin/iiab-update-map
|
||||
|
||||
# This depends on iiab-admin-console which is not yet installed
|
||||
#- name: Run the script that does osm-vector-maps housekeeping
|
||||
# shell: /usr/bin/iiab-update-map
|
||||
|
||||
- name: Copy the Countries geojson to assets
|
||||
copy:
|
||||
copy:
|
||||
src: countries.json
|
||||
dest: '{{ vector_map_path }}/maplist/assets'
|
||||
|
||||
# It is too complicated to use a single file for both iiab and admin-console
|
||||
- name: Copy the duplicated javascript to assets
|
||||
copy:
|
||||
copy:
|
||||
src: map_functions.js
|
||||
dest: '{{ vector_map_path }}/maplist/assets'
|
||||
|
||||
|
@ -78,7 +79,7 @@
|
|||
when: not osm_vector_maps_enabled and is_debuntu
|
||||
|
||||
- name: Copy the redirect to the test page -- delete this if more than one map
|
||||
copy:
|
||||
copy:
|
||||
src: test-index.redirect
|
||||
dest: "{{ vector_map_path }}/index.html"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue