24 lines
410 B
YAML
24 lines
410 B
YAML
---
|
|
- name: Install kibana
|
|
become: yes
|
|
apt:
|
|
name: kibana
|
|
state: present
|
|
|
|
- name: Deploy kibana configuration file
|
|
become: yes
|
|
template:
|
|
src: kibana.yml.j2
|
|
dest: /etc/kibana/kibana.yml
|
|
owner: kibana
|
|
group: kibana
|
|
mode: u=r,g=,o=
|
|
notify: Restart kibana
|
|
|
|
- name: Enable kibana service
|
|
become: yes
|
|
systemd:
|
|
name: kibana.service
|
|
state: started
|
|
enabled: yes
|
|
...
|