Ansible/roles/sensu.sensu/tasks/Amazon/dashboard.yml

22 lines
479 B
YAML
Raw Normal View History

---
# tasks/Amazon/dashboard.yml: Deployment of the Uchiwa dashboard
# Specific to CentOS
- name: Include ansible_distribution vars
include_vars:
file: "{{ ansible_distribution }}.yml"
tags: dashboard
- name: Ensure Uchiwa is installed
tags: dashboard
yum:
name: uchiwa
state: present
- name: Deploy Uchiwa config
tags: dashboard
template:
src: uchiwa_config.json.j2
dest: "{{ sensu_config_path }}/uchiwa.json"
notify: restart uchiwa service