forked from ccchb/ansible
genofire
0a6b680cda
The role expects two parameters: * `redis_instance`: the instance name * `redis_client_group`: the group allowed to access the instance's unix socket Fixes #17 Updates #10
11 lines
321 B
YAML
11 lines
321 B
YAML
---
|
|
- name: Reload s6-rc
|
|
service:
|
|
name: s6-rc
|
|
state: reloaded
|
|
|
|
- name: 'Restart redis-{{ redis_instance }}'
|
|
command: s6-svc -wR -T 15000 -ru /run/service/redis-{{ redis_instance }}
|
|
|
|
- name: 'Restart redis-{{ redis_instance }} log'
|
|
command: s6-svc -wR -T 5000 -ru /run/service/redis-{{ redis_instance }}-log
|