---
redis_systemd_name: redis-server

redis_conf_dir_prefix: /etc/redis

redis_force_instance_port: False

redis_port: 6379
redis_bind_interface: 127.0.0.1

redis_socket_enabled: True
redis_socket_dir_prefix: '/var/run/redis'
redis_socket_perms: 770

redis_pid_dir_prefix: "/var/run/redis"

redis_timeout: 300

# for client authorization
redis_password: NULL
# for slave authorization on master
redis_password_master: "{{ redis_password }}"

redis_log_dir_prefix: /var/log/redis
redis_log_level: "notice"

redis_databases: 16

# Set to an empty set to disable persistence (saving the DB to disk).
redis_save:
  - 900 1
  - 300 10
  - 60 10000

redis_rdbcompression: True
redis_data_dir_prefix: /var/lib/redis
redis_data_file: dump.rdb

redis_maxclients: 10000

redis_maxmemory: 0
redis_maxmemory_policy: "noeviction"
redis_maxmemory_samples: 5

redis_appendonly: False
redis_appendfsync: "everysec"

# Supported only in Redis 3.2+
redis_protected_mode: True

# Add extra include files for local configuration/overrides.
redis_includes: []

redis_restart_if_needed: True
redis_restart_force: False

redis_disabled_commands: []

redis_sentinel_install: False

redis_default_server_disabled: False

general_alert_email: "root@localhost"
log2mail_alert_email: Null
