22 lines
467 B
YAML
22 lines
467 B
YAML
|
---
|
||
|
# tasks/Debian/dashboard.yml: Deployment of the Uchiwa dashboard
|
||
|
# Specific to Debian
|
||
|
|
||
|
- name: Include ansible_distribution vars
|
||
|
include_vars:
|
||
|
file: "{{ ansible_distribution }}.yml"
|
||
|
tags: dashboard
|
||
|
|
||
|
- name: Install uchiwa
|
||
|
tags: dashboard
|
||
|
apt:
|
||
|
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
|