ansible/roles/redis/handlers/main.yml

12 lines
331 B
YAML
Raw Permalink Normal View History

---
- name: Reload s6-rc
service:
name: s6-rc
state: reloaded
- name: 'Restart redis-{{ redis_instance }}'
command: s6-svc -wR -T 15000 -ru {{ s6_scan_dir }}/redis-{{ redis_instance }}
- name: 'Restart redis-{{ redis_instance }} log'
command: s6-svc -wR -T 5000 -ru {{ s6_scan_dir }}/redis-{{ redis_instance }}-log