Verify if elasticsearch-keystore value changed

We are using ansible to deploy elasticsearch. This involves configuring some elasticsearch-keystore settings -


The values for these are defined in ansible-vault protected configuration files.

I would like to idempotently be able to apply these values but I cannot see any way of verifying from the elasticsearch-keystore command whether the value has changed or not. Is this possible ?

Currently we just force apply the configured values everytime and restart elasticsearch. This is not ideal as the restart time is increasing as more data is logged into elasticsearch

Unfortunately there is not currently a way to verify a value existing within the keystore.

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