The redis role allows you to create dedicated instances running under a specified user/group.
This role performs the following tasks:
- download and exrtact redis in /opt/redis/{{ version }}
- push /home/{{ user }}/etc/redis.conf
- push /home/{{ user }}/bin/redis # startup script
The user hosting the redis instance must exist on the target system.
You can use AttestationLegale.skel and AttestationLegale.users to create all the necessary stuff before calling redis role.
For a complete list of variables, see default/main.yml
.
redis_instances: []
None
---
- hosts: all
roles:
- redis
vars:
- redis_instances:
- owner: foo
group: bar
home: /home/foo
version: 3.0.7
config: []
MIT / BSD
This role was created in 2016 by ALG