diff options
author | binary <me@rgoncalves.se> | 2021-01-22 21:48:14 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-01-22 21:48:14 +0100 |
commit | 165de68d264460d6cf02dec394d9c9d1c8138c4c (patch) | |
tree | 37d46a3ef0f9cfd93d556370df85f91d2a267709 /roles/kibana/tasks | |
parent | 3ee51178ccf8b4ed610da788efe757b633125331 (diff) | |
download | infrastructure-165de68d264460d6cf02dec394d9c9d1c8138c4c.tar.gz |
First revision for elastic/kibana stack
Diffstat (limited to 'roles/kibana/tasks')
-rw-r--r-- | roles/kibana/tasks/main.yml | 20 |
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 + |