James Tombleson
b7facd7394
Added Sensu Moved default role downloads to ./roles Added unattended-upgrades
15 lines
344 B
YAML
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
|