ansible-role-elasticsearch
ansible-role-elasticsearch copied to clipboard
Better handling of the service in stopped state
- Prevented waiting for Elasticsearch when
elasticsearch_service_stateis set tostopped. - Avoided triggering 'restart elasticsearch' handler under the same condition.
Reasoning: Encountered a need to configure security features mandatory for Elasticsearch 8.x. Initial attempts to configure pre-installation were unsuccessful, as these settings require Elasticsearch to be installed first. Thus, opted for post-installation configuration. This necessitated the ability to install and configure Elasticsearch without starting the service.
Note: Security settings required by default in Elasticsearch 8.x ideally should be incorporated into the role itself. Plan to explore adding this support to the existing role when possible.
Hi, would you like to accept and merge this PR please ?