elastic / ansible-elasticsearch

Ansible playbook for Elasticsearch
Other
1.59k stars 857 forks source link

Does not accept static IP config Eg: transport.host: <hostname>" #808

Closed arkachat closed 2 years ago

arkachat commented 3 years ago

Currently the section transport.host does not accept a hostname as the defaults/main.yml has this line es_api_host: "localhost"

This is hardcoded and should be avoided so the startup check does not check only "localhost".

The fix is : es_api_host: "{{ ansible_hostname }}"

Please kindly fix this.

botelastic[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

botelastic[bot] commented 2 years ago

This issue has been automatically closed because it has not had recent activity since being marked as stale.