redis: distinction between main and master password
This commit is contained in:
parent
776839fe61
commit
3b63172532
|
@ -15,6 +15,7 @@ The **patch** part changes incrementally at each release.
|
|||
* redis: Configure munin when working in instance mode
|
||||
|
||||
### Changed
|
||||
* redis: distinction between main and master password
|
||||
|
||||
### Fixed
|
||||
* nginx: Munin url config is now a template to insert the server-status prefix
|
||||
|
|
|
@ -8,7 +8,10 @@ redis_unixsocket: '/var/run/redis/redis.sock'
|
|||
redis_pidfile: "/var/run/redis/{{ redis_daemon }}.pid"
|
||||
redis_timeout: 300
|
||||
|
||||
# for client authorization
|
||||
redis_password: NULL
|
||||
# for slave authorization on master
|
||||
redis_password_master: "{{ redis_password }}"
|
||||
|
||||
redis_loglevel: "notice"
|
||||
redis_logfile: /var/log/redis/redis-server.log
|
||||
|
|
|
@ -9,7 +9,9 @@ unixsocket {{ redis_unixsocket }}
|
|||
|
||||
{% if redis_password %}
|
||||
requirepass {{ redis_password }}
|
||||
masterauth {{ redis_password }}
|
||||
{% endif %}
|
||||
{% if redis_password_master %}
|
||||
masterauth {{ redis_password_master }}
|
||||
{% endif %}
|
||||
|
||||
timeout {{ redis_timeout }}
|
||||
|
|
Loading…
Reference in New Issue