Open
Description
Hi there,
I've been doing some manual testing with Redis sentinel and its election of a new master. This all works fine as expected 😄
The issue I've got is that my inventory is currently as follows:
[redis_master]
redis01.staging
[redis_slaves]
redis02.staging
redis03.staging
If, for example, redis02.staging
has previously become the master due to a reelection then re-running the playbook appears to break my setup. If redis01.staging
is still the master then it works fine.
Do you think I need to use a dynamic inventory to calculate which member if redis0[1:3].staging
is the master? I think this issue may be down to the redis-server
config file being rewritten as part of the sentinel re-election process.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels