24 lines
668 B
YAML
24 lines
668 B
YAML
---
|
|
redis_config_bind:
|
|
- "127.0.0.1"
|
|
- "-::1"
|
|
redis_config_protected_mode: true
|
|
redis_config_port: 6379
|
|
redis_config_user:
|
|
- "default on -DEBUG +@all ~* nopass"
|
|
redis_config_databases: 16
|
|
redis_config_dbfilename: dump.rdb
|
|
|
|
redis_base_config:
|
|
bind: "{{ redis_config_bind | join(' ') }}"
|
|
"protected-mode": "{{ redis_config_protected_mode | bool | ternary('yes', 'no') }}"
|
|
port: "{{ redis_config_port }}"
|
|
user: "{{ redis_config_user }}"
|
|
databases: "{{ redis_config_databases }}"
|
|
dbfilename: "{{ redis_config_dbfilename }}"
|
|
|
|
redis_config: ~
|
|
redis_config_merged: >-2
|
|
{{ redis_config_base
|
|
| combine(redis_config | default({}, true), recursive=True) }}
|