Hi, I'm using https://github.com/elastic/ansible-elasticsearch and cannot find the variables to set the listen address of the elasticsearch endpoints. By default, they are set to listen on 'localhost' which is a problem since I cannot create a cluster since the nodes don't communicate with each others.
With any value in the elasticserach.yml.j2 so it's taking a default. If you add the line above to the template, it should listen on "all interfaces". If you need only specific, you will have to create a variable or possibly "ansible_default_ipv4". Try ansible -m setup to see if a correct variable exists.
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.