redis: add a variable for renamed/disabled commands

This commit is contained in:
Jérémy Lecour 2019-01-08 10:04:27 +01:00 committed by Jérémy Lecour
parent ebd65b2395
commit 921c92fd5b
3 changed files with 7 additions and 0 deletions

View file

@ -15,6 +15,7 @@ The **patch** part changes incrementally at each release.
* evomaintenance: database variables must be set or the task fails * evomaintenance: database variables must be set or the task fails
* rbenv: add pkg-config to the list of packages to install * rbenv: add pkg-config to the list of packages to install
* redis: Configure munin when working in instance mode * redis: Configure munin when working in instance mode
* redis: add a variable for renamed/disabled commands
* redis: add a variable to disable the restart handler * redis: add a variable to disable the restart handler
* redis: add a variable to force a restart (even with no change) * redis: add a variable to force a restart (even with no change)

View file

@ -43,3 +43,5 @@ redis_includes: []
redis_restart_if_needed: True redis_restart_if_needed: True
redis_restart_force: False redis_restart_force: False
redis_disabled_commands: []

View file

@ -51,6 +51,10 @@ appendonly {{ redis_appendonly }}
appendfsync {{ redis_appendfsync }} appendfsync {{ redis_appendfsync }}
no-appendfsync-on-rewrite no no-appendfsync-on-rewrite no
{% for disabled_command in redis_disabled_commands %}
rename-command {{ disabled_command }} ""
{% endfor %}
{% for include in redis_includes %} {% for include in redis_includes %}
include {{ include }} include {{ include }}
{% endfor %} {% endfor %}