Fix the tomcat solr tasks.
This commit is contained in:
parent
d1cb3ff921
commit
0e3d2f85d6
|
@ -37,3 +37,13 @@ solr_multicore: False
|
||||||
solr_cores:
|
solr_cores:
|
||||||
- collection1
|
- collection1
|
||||||
|
|
||||||
|
solr_additional_packages:
|
||||||
|
- libslf4j-java
|
||||||
|
- libcommons-logging-java
|
||||||
|
|
||||||
|
solr_data_subdirs:
|
||||||
|
- data/solr
|
||||||
|
- webapps
|
||||||
|
- zoo_data
|
||||||
|
- collection_data
|
||||||
|
- conf/Catalina/localhost
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Ensure that the solr data directory exists
|
- name: Ensure that the solr data directory exists
|
||||||
file: path={{ solr_data_dir }}/{{ item }} state=directory mode=0775 owner={{ solr_user }} group={{ solr_user }}
|
file: path={{ solr_data_dir }}/{{ item }} state=directory mode=0775 owner={{ solr_user }} group={{ solr_user }}
|
||||||
with_items:
|
with_items: '{{ solr_data_subdirs }}'
|
||||||
- data/solr
|
|
||||||
- webapps
|
|
||||||
- zoo_data
|
|
||||||
- collection_data
|
|
||||||
tags: solr
|
tags: solr
|
||||||
|
|
||||||
- name: Create the link from the tomcat instance for solr to the solr data directory
|
- name: Create the link from the tomcat instance for solr to the solr data directory
|
||||||
|
@ -14,10 +10,7 @@
|
||||||
tags: solr
|
tags: solr
|
||||||
|
|
||||||
- name: Solr needs some additional packages
|
- name: Solr needs some additional packages
|
||||||
apt: pkg={{ item }} state={{ pkg_state }}
|
apt: pkg={{ solr_additional_packages }} state={{ pkg_state }}
|
||||||
with_items:
|
|
||||||
- libslf4j-java
|
|
||||||
- libcommons-logging-java
|
|
||||||
tags: [ solr, tomcat ]
|
tags: [ solr, tomcat ]
|
||||||
|
|
||||||
- name: Let the additional packages jar files visible to tomcat
|
- name: Let the additional packages jar files visible to tomcat
|
||||||
|
|
Loading…
Reference in New Issue