benschubert.infrastructure.redis role – Configure a Redis instance using podman

Note

This role is part of the benschubert.infrastructure collection (version 0.0.1).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install benschubert.infrastructure.

To use it in a playbook, specify: benschubert.infrastructure.redis.

Entry point main – Configure a Redis instance using podman

Synopsis

  • Configure a Redis instance in a podman container

  • This will setup a Redis instance with a ‘default’ user and the specified password

Parameters

Parameter

Comments

monitoring_grafana_config_path

string / required

The path to where the Grafana configuration is kept

This is used to install a basic Redis dashboard for viewing metrics

redis_config_path

string / required

The path on disk in which to store the configuration for the Redis instance

redis_data_path

string / required

The path on disk where Redis will store it’s data for persistence

redis_image

string

The container image path and tag to use for Redis

Default: "docker.io/library/redis:latest"

redis_metrics_password

string / required

The password to allow the metric gathering agent to connect to Redis

redis_network

string / required

The name of the podman network to which the Redis instance will be exposed

redis_password

string / required

The password to authenticate against the Redis instance

redis_pod

string / required

The name to give the podman pod in which the Redis container will be launched