ansible-role-elasticsearch icon indicating copy to clipboard operation
ansible-role-elasticsearch copied to clipboard

Better handling of the service in stopped state

Open lisuml opened this issue 1 year ago • 3 comments

  • Prevented waiting for Elasticsearch when elasticsearch_service_state is set to stopped.
  • 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.

lisuml avatar Nov 29 '23 15:11 lisuml

Hi, would you like to accept and merge this PR please ?

pulse-mind avatar Feb 23 '24 08:02 pulse-mind