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

16 lines
492 B
YAML
Raw Permalink Normal View History

2024-10-30 11:21:51 +00:00
---
redis_version: "7.2.4"
redis_state: "present"
redis_instance: ~
redis_instance_suffix: >-2
{{ ((redis_instance is string) and (redis_instance | length > 0))
| ternary('-' + (redis_instance | default('', true)), '') }}
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