71 lines
1.7 KiB
YAML
71 lines
1.7 KiB
YAML
|
---
|
||
|
# @var redis_packages:description: Define a list of packages to install.
|
||
|
redis_packages:
|
||
|
- redis5
|
||
|
|
||
|
# @var redis_packages_extra:description: Can be used to install other dependency packages.
|
||
|
redis_packages_extra: []
|
||
|
|
||
|
redis_daemon: redis
|
||
|
|
||
|
redis_conf_path: /etc/redis.conf
|
||
|
redis_dbdir: /var/lib/redis
|
||
|
redis_logfile: /var/log/redis/redis.log
|
||
|
redis_pidfile: "/var/run/redis_{{ redis_port }}.pid"
|
||
|
|
||
|
redis_daemonize: "no"
|
||
|
redis_supervised: "no"
|
||
|
|
||
|
redis_port: 6379
|
||
|
redis_bind_interface: 127.0.0.1
|
||
|
# @var redis_unixsocket:value: $ "_unset_"
|
||
|
redis_timeout: 300
|
||
|
|
||
|
redis_loglevel: "notice"
|
||
|
# @var redis_logfile:description: Can be used to change the redis log file path
|
||
|
|
||
|
redis_databases: 16
|
||
|
|
||
|
# @var redis_save:description: Set to an empty set to disable persistence (saving the DB to disk).
|
||
|
redis_save:
|
||
|
- 900 1
|
||
|
- 300 10
|
||
|
- 60 10000
|
||
|
|
||
|
redis_rdbcompression: "yes"
|
||
|
redis_dbfilename: dump.rdb
|
||
|
# @var redis_dbdir:description: Can be used to change the redis dbdir path
|
||
|
|
||
|
redis_maxmemory: 0
|
||
|
redis_maxmemory_policy: "noeviction"
|
||
|
redis_maxmemory_samples: 5
|
||
|
|
||
|
redis_appendonly: "no"
|
||
|
redis_appendfsync: "everysec"
|
||
|
|
||
|
# @var redis_includes:description: Add extra include files for local configuration/overrides.
|
||
|
redis_includes: []
|
||
|
|
||
|
# @var redis_requirepass:description: Require authentication to Redis with a password.
|
||
|
# @var redis_requirepass:value: $ "_unset_"
|
||
|
|
||
|
# @var redis_disabled_commands:description: Disable certain Redis commands for security reasons.
|
||
|
redis_disabled_commands: []
|
||
|
# @var redis_disabled_commands:example: >
|
||
|
# redis_disabled_commands:
|
||
|
# - FLUSHDB
|
||
|
# - FLUSHALL
|
||
|
# - KEYS
|
||
|
# - PEXPIRE
|
||
|
# - DEL
|
||
|
# - CONFIG
|
||
|
# - SHUTDOWN
|
||
|
# - BGREWRITEAOF
|
||
|
# - BGSAVE
|
||
|
# - SAVE
|
||
|
# - SPOP
|
||
|
# - SREM
|
||
|
# - RENAME
|
||
|
# - DEBUG
|
||
|
# @end
|