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.
- Ansible 1.7.2+
None.
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 }
Name | Type | Description |
---|---|---|
redis restart |
Service | Restart redis server |
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. |
elao_redis_config:
- bind: "127.0.0.1 {{ ansible_venet0_0.ipv4.address}}"
- hosts: servers
roles:
- { role: elao.redis }
MIT