ElaoInfra.redis
Ansible Role: redis
This role will assume the setup of redis.
It's part of the ELAO Ansible stack but can be used as a stand alone component.
Requirements
- Ansible 1.7.2+
Dependencies
None.
Installation
Using ansible galaxy:
ansible-galaxy install elao.redis
You can add this role as a dependency for other roles by adding the role to the meta/main.yml file of your own role:
dependencies:
- { role: elao.redis }
Role Handlers
| Name | Type | Description |
|---|---|---|
redis restart |
Service | Restart redis server |
Role Variables
| Name | Default | Type | Description |
|---|---|---|---|
elao_redis_config_file |
/etc/redis/redis.conf | string | Redis config file path. |
elao_redis_config_template |
~ | string | |
elao_redis_config |
[] | array | Redis config directives. |
Configuration example
elao_redis_config:
- bind: "127.0.0.1 {{ ansible_venet0_0.ipv4.address}}"
Example playbook
- hosts: servers
roles:
- { role: elao.redis }
Licence
MIT
Author information
Install
ansible-galaxy install ElaoInfra.redisLicense
Unknown
Downloads
634
Owner
All of those roles aren't maintained anymore and we strongly encourage you to switch to our new (maintained and tested) Ansible stack: https://github.com/manala
