Ansible/roles/sensu.sensu/tasks/redis.yml
James Tombleson b7facd7394 Role Adjustments
Added Sensu
Moved default role downloads to ./roles
Added unattended-upgrades
2019-04-29 07:08:11 -07:00

15 lines
344 B
YAML

---
# 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