2016-06-18 16:06:16 +02:00
|
|
|
---
|
|
|
|
- name: Install the solr schema used by CKAN
|
2016-07-13 19:04:28 +02:00
|
|
|
file: src=/usr/lib/ckan/default/src/ckan/ckan/config/solr/schema.xml dest={{ solr_collections_base_dir }}/{{ item }}/conf/schema.xml state=link force=yes
|
|
|
|
with_items: '{{ solr_cores }}'
|
2016-06-18 16:06:16 +02:00
|
|
|
when: not ckan_geonetwork_harvester
|
|
|
|
notify: Solr Restart
|
2016-09-20 15:53:44 +02:00
|
|
|
tags: [ 'ckan', 'solr', 'solr_schema', 'solr_core' ]
|
2016-06-18 16:06:16 +02:00
|
|
|
|
|
|
|
- name: Install the solr schema used by CKAN, modified with the spatial fields
|
2016-07-13 19:04:28 +02:00
|
|
|
copy: src=schema.xml dest={{ solr_collections_base_dir }}/{{ item }}/conf/schema.xml force=yes
|
|
|
|
with_items: '{{ solr_cores }}'
|
2016-06-18 16:06:16 +02:00
|
|
|
when: ckan_geonetwork_harvester
|
|
|
|
notify: Solr Restart
|
2016-09-20 15:53:44 +02:00
|
|
|
tags: [ 'ckan', 'solr', 'solr_schema', 'solr_core' ]
|