I am using ansible playbook to install elasticsearch and elasticsearch
plugin. after successfully installation of Elasticsearch I written one
ansible task to Restart Elasticsearch. Its restarting elasticsearch but
ansible playbook hang up in this task. My ansible task is:
- name: "Ensure Elasticsearch is Running"
service: name=elasticsearch state=restarted
I also tried with shell: sudo service elasticsearch restart but no luck.
Elasticsearch Version : 1.3.0 Ansible Version : 1.5.5
Verbose Output for the task is :
<app101.host.com> ESTABLISH CONNECTION FOR USER: prod on PORT 22 TO
Fix this problem. Cause of the issue. I am using old version of service
wrapper script for elasticsearch. After update * /etc/init.d/elasticsearch*
everything is working fine.
On Wednesday, 10 September 2014 15:52:50 UTC+5:30, Roopendra Vishwakarma
wrote:
I am using ansible playbook to install elasticsearch and elasticsearch
plugin. after successfully installation of Elasticsearch I written one
ansible task to Restart Elasticsearch. Its restarting elasticsearch but
ansible playbook hang up in this task. My ansible task is:
- name: "Ensure Elasticsearch is Running"
service: name=elasticsearch state=restarted
I also tried with shell: sudo service elasticsearch restart but no luck.
Elasticsearch Version : 1.3.0 Ansible Version : 1.5.5
Verbose Output for the task is :
<app101.host.com> ESTABLISH CONNECTION FOR USER: prod on PORT 22 TO
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.