mirror of
https://github.com/famedly/ansible-collection-base
synced 2024-11-10 06:24:17 +00:00
29680902eb
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.
9 lines
155 B
YAML
9 lines
155 B
YAML
- hosts: [ localhost ]
|
|
become: yes
|
|
collections:
|
|
- famedly.base
|
|
roles:
|
|
- role: redis
|
|
vars:
|
|
redis_secret: s3cr3t
|
|
redis_prefix: test_
|