databases/roles/redis/defaults/main/main.yml

15 lines
447 B
YAML
Raw Normal View History

2024-10-30 11:21:51 +00:00
---
redis_version: "7.2.4"
redis_instance: ~
redis_instance_suffix: >-2
{{ (redis_instance | default(false, true) | bool)
| ternary('-' + (redis_instance | default('')), '') }}
redis_user: >-2
redis{{ redis_instance_suffix }}
redis_config_path: "/etc/redis"
redis_config_file: >-2
{{ redis_config_path }}/redis{{ redis_instance_suffix }}.conf
redis_data_path: "/var/lib/redis{{ redis_instance_suffix }}"
redis_deployment_method: docker