Elasticsearch.yml with Ansible Galaxy

Hi,

I have built an elasticsearch server using Ansible Galaxy scripts provided by Elastic. I'm finding that once it's running the elasticsearch.yml is in a very basic format and any manual changes cause the elasticsearch service to not start.

Im trying with 7.4 on Amazon Linux 2.

I have also tried replacing my elasticsearch.yml with the defauly out the box version from the downloaded elasticseach zip - having ammended the parameters needed. this also wont allow the service to start.

Is there something that the elastic Ansible script is doing that isn't standard?

https://galaxy.ansible.com/elastic/elasticsearch

Thanks

Ok a little further.

It appears the Galaxy build places the java files into /usr/share/elasticsearch with root user/group permissions. The service then has no access to this folder to create a java log file in this location.

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