solr: Fix the hostnames of the zookeeper cluster.

This commit is contained in:
Andrea Dell'Amico 2017-12-12 17:13:07 +01:00
parent 231dc174c2
commit 0564fb95a7
1 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@
- solr.xml
- zoo.cfg
notify: solr restart
tags: [ 'solr', 'solr_default', 'solr_conf' ]
- name: copy extra libraries
shell: cd {{ solr_server_dir }}; cp -u {{ item }} {{ solr_data_dir }}/lib
@ -45,7 +46,7 @@
- name: Install the solr default
template: src=solr-default.j2 dest=/etc/default/solr.in.sh mode=0644 owner=root group=root
notify: solr restart
tags: [ 'solr', 'solr_default' ]
tags: [ 'solr', 'solr_default', 'solr_conf' ]
- name: Start and enable the solr service
service: name=solr state=started enabled=yes