Ansible role elastic.elasticsearch - how to set listen address of http and api endpoints

Hi, I'm using 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.

Thanks a lot

Looking briefly, I don't see "0"

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.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.