From 165de68d264460d6cf02dec394d9c9d1c8138c4c Mon Sep 17 00:00:00 2001 From: binary Date: Fri, 22 Jan 2021 21:48:14 +0100 Subject: First revision for elastic/kibana stack --- roles/kibana/tasks/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 roles/kibana/tasks/main.yml (limited to 'roles/kibana/tasks') diff --git a/roles/kibana/tasks/main.yml b/roles/kibana/tasks/main.yml new file mode 100644 index 0000000..5031368 --- /dev/null +++ b/roles/kibana/tasks/main.yml @@ -0,0 +1,20 @@ + +# kibana ~~ roles/kibana/tasks/main.yml +# kibana setup + +--- + +- name: install kibana + package: name=kibana state=present + +- name: generate kibana configuration + template: + src: kibana.yml.j2 + dest: /etc/kibana/kibana.yml + owner: "{{ user_root }}" + group: "{{ group_root }}" + mode: 0644 + +- name: start and enable kibana service + service: name=kibana state=restarted enabled=true + -- cgit v1.2.3