kolla-ansible/ansible/roles/redis/templates/redis-sentinel.json.j2
Mathias Ewald e3423bea2f Add Redis role
Rollout redis container in master/slave configuration

Deploy redis-sentinel and connect to redis cluster
Redis is needed for mistral coordination backend.

Partial-Bug: #1700591
Change-Id: Ic0269d0db10624925e7bcdbf0e33ae87b84a9cf2
2017-08-21 17:08:52 +01:00

19 lines
434 B
Django/Jinja

{
"command": "redis-sentinel /etc/redis/redis.conf",
"config_files": [
{
"source": "{{ container_config_directory }}/redis.conf",
"dest": "/etc/redis/redis.conf",
"owner": "redis",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/log/kolla/redis",
"owner": "redis:redis",
"recurse": true
}
]
}