From db36eb9a4c6b4b2e6846681ae823f010fb121c9e Mon Sep 17 00:00:00 2001 From: javier monterrubio Date: Wed, 11 Jan 2017 16:13:52 +0100 Subject: [PATCH] #4 Copy solr.xml file for not default data dir --- CHANGELOG.md | 4 ++++ tasks/config.yml | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d031b9..2f42f19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## [1.1.1] 2017-01-11 +### Fixed +- *#4 Copy solr.xml file for not default data dir* @jmonterrubio + ## [1.1.0] ### Added - *#1 Enable all the jetty HttpConfiguration parameters from ansible* @jmonterrubio diff --git a/tasks/config.yml b/tasks/config.yml index 87aa1c1..d6952cc 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -20,13 +20,20 @@ force: yes notify: restart SolrCloud -- name: SolrCloud | Configuring SolrCloud +- name: SolrCloud | Configuring SolrCloud init script template: src: solr.in.sh.j2 dest: /etc/default/solr.in.sh force: yes notify: restart SolrCloud +- name: SolrCloud | Configuring SolrCloud properties + template: + src: solr.xml.j2 + dest: "{{ solr_data_dir }}/solr.xml" + force: yes + notify: restart SolrCloud + - name: SolrCloud | Configuring logging template: src: log4j.properties.j2