xoxys.redis/defaults/main.yml

72 lines
1.8 KiB
YAML
Raw Normal View History

2021-06-01 19:32:28 +00:00
---
# @var redis_packages:description: >
# Define a list of packages to install. The default packages depend on the OS version.
# @end
# @var redis_packages:default: $ "_unset_"
2021-06-01 19:32:28 +00:00
# @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