aboutsummaryrefslogtreecommitdiffstats
path: root/roles/kibana/tasks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2021-01-22 21:48:14 +0100
committerbinary <me@rgoncalves.se>2021-01-22 21:48:14 +0100
commit165de68d264460d6cf02dec394d9c9d1c8138c4c (patch)
tree37d46a3ef0f9cfd93d556370df85f91d2a267709 /roles/kibana/tasks
parent3ee51178ccf8b4ed610da788efe757b633125331 (diff)
downloadinfrastructure-165de68d264460d6cf02dec394d9c9d1c8138c4c.tar.gz
First revision for elastic/kibana stack
Diffstat (limited to 'roles/kibana/tasks')
-rw-r--r--roles/kibana/tasks/main.yml20
1 files changed, 20 insertions, 0 deletions
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
+
remember that computers suck.