1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

had not included osm-vector in list of roles -- so reinstall did not work

This commit is contained in:
George Hunt 2019-04-04 19:24:41 +01:00
parent ee7e5ea302
commit 084d0e45b8
2 changed files with 11 additions and 5 deletions

View file

@ -27,6 +27,12 @@
when: moodle_install when: moodle_install
tags: olpc, moodle tags: olpc, moodle
- name: OSM_VECTOR
include_role:
name: osm-vector
when: osm_vector_install is defined and osm_vector_install
tags: osm
# UNMAINTAINED # UNMAINTAINED
- name: OSM - name: OSM
include_role: include_role:

View file

@ -1,8 +1,3 @@
- name: Fetch the catalog for osm maps
get_url:
url: "{{ iiab_osm_url }}/assets/regions.json"
dest: '{{ osm_vector_path }}/assets'
- name: Make sure the osm-vector directory exists - name: Make sure the osm-vector directory exists
file: file:
path: '{{ osm_vector_path }}/assets' path: '{{ osm_vector_path }}/assets'
@ -11,6 +6,11 @@
group: '{{ apache_user }}' group: '{{ apache_user }}'
mode: '0755' mode: '0755'
- name: Fetch the catalog for osm maps
get_url:
url: "{{ iiab_osm_url }}/assets/regions.json"
dest: '{{ osm_vector_path }}/assets'
- name: Fetch the javascript bundle with openlayers for test page - name: Fetch the javascript bundle with openlayers for test page
get_url: get_url:
url: "{{ iiab_osm_url }}/assets/main.js" url: "{{ iiab_osm_url }}/assets/main.js"