Ansible/roles/sensu.sensu/tasks/redis.yml

15 lines
344 B
YAML
Raw Normal View History

---
# tasks/redis.yml: Deploy redis
- name: Include ansible_distribution vars
include_tasks: "{{ role_path }}/tasks/{{ ansible_distribution }}/redis.yml"
tags: redis
- name: Ensure redis is running
tags: redis
service:
name: "{{ sensu_redis_service_name }}"
pattern: /usr/bin/redis-server
state: started
enabled: true