redis: set masterauth when redis_password is defined

This commit is contained in:
Victor LABORIE 2018-09-20 16:42:35 +02:00
parent 9ddb297961
commit c7cc63444d
2 changed files with 2 additions and 0 deletions

View file

@ -11,6 +11,7 @@ The **patch** part changes incrementally at each release.
## [Unreleased]
### Added
* redis: set masterauth when redis_password is defined
### Changed

View file

@ -9,6 +9,7 @@ unixsocket {{ redis_unixsocket }}
{% if redis_password %}
requirepass {{ redis_password }}
masterauth {{ redis_password }}
{% endif %}
timeout {{ redis_timeout }}