forked from ISTI-ansible-roles/ansible-roles
solr: Fix the hostnames of the zookeeper cluster.
This commit is contained in:
parent
231dc174c2
commit
0564fb95a7
|
@ -34,6 +34,7 @@
|
||||||
- solr.xml
|
- solr.xml
|
||||||
- zoo.cfg
|
- zoo.cfg
|
||||||
notify: solr restart
|
notify: solr restart
|
||||||
|
tags: [ 'solr', 'solr_default', 'solr_conf' ]
|
||||||
|
|
||||||
- name: copy extra libraries
|
- name: copy extra libraries
|
||||||
shell: cd {{ solr_server_dir }}; cp -u {{ item }} {{ solr_data_dir }}/lib
|
shell: cd {{ solr_server_dir }}; cp -u {{ item }} {{ solr_data_dir }}/lib
|
||||||
|
@ -45,7 +46,7 @@
|
||||||
- name: Install the solr default
|
- name: Install the solr default
|
||||||
template: src=solr-default.j2 dest=/etc/default/solr.in.sh mode=0644 owner=root group=root
|
template: src=solr-default.j2 dest=/etc/default/solr.in.sh mode=0644 owner=root group=root
|
||||||
notify: solr restart
|
notify: solr restart
|
||||||
tags: [ 'solr', 'solr_default' ]
|
tags: [ 'solr', 'solr_default', 'solr_conf' ]
|
||||||
|
|
||||||
- name: Start and enable the solr service
|
- name: Start and enable the solr service
|
||||||
service: name=solr state=started enabled=yes
|
service: name=solr state=started enabled=yes
|
||||||
|
|
Loading…
Reference in New Issue