feat(redis): add ansible role

This commit is contained in:
2024-10-30 12:21:51 +01:00
parent 6cec7a4e8e
commit 58c5ea9321
6 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
---
- name: Ensure state is valid
ansible.builtin.fail:
msg: >-2
Unsupported state '{{ redis_state }}'.
Supported states are {{ redis_states | join(', ') }}
when: redis_state not in redis_states