--- - name: Install the solr schema used by CKAN file: src=/usr/lib/ckan/default/src/ckan/ckan/config/solr/schema.xml dest={{ tomcat_m_instances_base_path }}/{{ ckan_solr_port }}/solr/data/solr/collection1/conf/schema.xml state=link force=yes when: not ckan_geonetwork_harvester notify: Solr Restart tags: [ 'ckan', 'solr', 'solr_schema' ] - name: Install the solr schema used by CKAN, modified with the spatial fields copy: src=schema.xml dest={{ tomcat_m_instances_base_path }}/{{ ckan_solr_port }}/solr/data/solr/collection1/conf/schema.xml force=yes when: ckan_geonetwork_harvester notify: Solr Restart tags: [ 'ckan', 'solr', 'solr_schema' ]