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
|