diff --git a/ckan/ckan-solr/tasks/main.yml b/ckan/ckan-solr/tasks/main.yml index 4ac0d794..ce1cd2d9 100644 --- a/ckan/ckan-solr/tasks/main.yml +++ b/ckan/ckan-solr/tasks/main.yml @@ -4,11 +4,11 @@ with_items: '{{ solr_cores }}' when: not ckan_geonetwork_harvester notify: Solr Restart - tags: [ 'ckan', 'solr', 'solr_schema' ] + tags: [ 'ckan', 'solr', 'solr_schema', 'solr_core' ] - name: Install the solr schema used by CKAN, modified with the spatial fields copy: src=schema.xml dest={{ solr_collections_base_dir }}/{{ item }}/conf/schema.xml force=yes with_items: '{{ solr_cores }}' when: ckan_geonetwork_harvester notify: Solr Restart - tags: [ 'ckan', 'solr', 'solr_schema' ] + tags: [ 'ckan', 'solr', 'solr_schema', 'solr_core' ] diff --git a/solr-tomcat-instance/tasks/main.yml b/solr-tomcat-instance/tasks/main.yml index dc79361a..668e28e4 100644 --- a/solr-tomcat-instance/tasks/main.yml +++ b/solr-tomcat-instance/tasks/main.yml @@ -49,7 +49,7 @@ with_items: - collection1.tar.gz - solr_core_base.tar.gz - tags: [ solr, tomcat ] + tags: [ solr, tomcat, solr_core ] - name: Install the solr collection1 example unarchive: src={{ solr_data_dir }}/collection_data/collection1.tar.gz dest={{ solr_collections_base_dir }} copy=no @@ -57,13 +57,13 @@ creates: '{{ solr_data_dir }}/data/solr/collection1/conf/solrconfig.xml' when: solr_install_collection1 notify: tomcat solr restart - tags: [ solr, tomcat ] + tags: [ solr, tomcat, solr_core ] - name: Create the solr cores data directories file: dest={{ solr_collections_base_dir }}/{{ item }} state=directory owner={{ solr_user }} group={{ solr_user }} with_items: '{{ solr_cores }}' when: solr_multicore is defined and solr_multicore - tags: [ solr, tomcat ] + tags: [ solr, tomcat, solr_core ] - name: Install the solr cores data on a multicore system unarchive: src={{ solr_data_dir }}/collection_data/solr_core_base.tar.gz dest={{ solr_data_dir }}/data/solr/{{ item }} copy=no @@ -72,11 +72,11 @@ with_items: '{{ solr_cores }}' when: solr_multicore is defined and solr_multicore notify: tomcat solr restart - tags: [ solr, tomcat ] + tags: [ solr, tomcat, solr_core ] - name: Fix the cores permissions file: path={{ solr_collections_base_dir }} owner={{ solr_user }} group={{ solr_user }} recurse=yes - tags: [ solr, tomcat ] + tags: [ solr, tomcat, solr_core ] - name: Install the tomcat.local default file template: src={{ item }}.j2 dest=/etc/default/tomcat-instance-{{ solr_http_port }}.local owner=root group={{ solr_user }} mode=0440 @@ -91,5 +91,5 @@ - solr.xml - zoo.cfg notify: tomcat solr restart - tags: [ solr, tomcat ] + tags: [ solr, tomcat, solr_core ]