aboutsummaryrefslogtreecommitdiffstats
path: root/roles/kibana/tasks
diff options
context:
space:
mode:
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.