feat: allow to configure authentication for sentinel#104
Conversation
b0bc751 to
67ea194
Compare
christianhueserhzdr
left a comment
There was a problem hiding this comment.
This change looks fine, thanks. But the "t" in "sentinel" that needs to be shifted two times to the left. ;-) For some reason sentinel is not configured during the converge stage and no change is done. But it should be, because we are changing the config file, right?
| Password for Redis Sentinel. This is unset by default. | ||
|
|
||
| ```yaml | ||
| redis_senintel_password: 'changeme' |
There was a problem hiding this comment.
| redis_senintel_password: 'changeme' | |
| redis_sentinel_password: 'changeme' |
There was a problem hiding this comment.
At least I was consistent 🙈
| hosts: | ||
| all: | ||
| vars: | ||
| redis_senintel_password: "123456" |
There was a problem hiding this comment.
| redis_senintel_password: "123456" | |
| redis_sentinel_password: "123456" |
| {% if (redis_senintel_password is defined) and (redis_senintel_password|length > 0) %} | ||
| requirepass "{{ redis_senintel_password }}" |
There was a problem hiding this comment.
| {% if (redis_senintel_password is defined) and (redis_senintel_password|length > 0) %} | |
| requirepass "{{ redis_senintel_password }}" | |
| {% if (redis_sentinel_password is defined) and (redis_sentinel_password|length > 0) %} | |
| requirepass "{{ redis_sentinel_password }}" |
There is an issue about that: #6 |
67ea194 to
5f365c3
Compare
christianhueserhzdr
left a comment
There was a problem hiding this comment.
This is all fine now, thanks! I'll approve and merge this PR now.
Closes #103