add redis role for ensuring redis is installed from distro packages

This is a requirement for a new netbox role.
This commit is contained in:
June 2025-02-13 02:00:32 +01:00
parent 537ef55b6f
commit fc24bfff5d
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
2 changed files with 20 additions and 0 deletions
roles/redis

15
roles/redis/README.md Normal file
View file

@ -0,0 +1,15 @@
# Role `redis`
Ensures `redis` is installed by installing the distributions package.
## Supported Distributions
Should work on Debian-based distributions.
## Required Arguments
None.
## Optional Arguments
None.

View file

@ -0,0 +1,5 @@
- name: Ensure redis is installed
ansible.builtin.apt:
name:
- redis
become: true