ansible-collection-famedly-.../playbooks/test-redis.yml
Johanna Dorothea Reichmann 29680902eb feat(redis): new role to deploy a redis container
Adds an ansible role which deploys the redis image from the docker
default library in a container, maps the data directory to the host and
uses a config which instructs redis to use a global password for AUTH.

With `redis_prefix`, a prefix can be specified to isolate multiple
instances on the same host.With a prefix like "matrix_", the user,
container-name and host data-directories get prefixed.
2020-10-09 13:34:39 +02:00

9 lines
155 B
YAML

- hosts: [ localhost ]
become: yes
collections:
- famedly.base
roles:
- role: redis
vars:
redis_secret: s3cr3t
redis_prefix: test_