Commit 3bb1bf60 authored by Daniel Berman's avatar Daniel Berman Committed by GitHub
Browse files

Create main.yml

parent 3c0f60fa
---
#
# Installing Kibana
#
# Install Kibana
- name: Install Kibana with apt-get
- shell: sudo apt-get install kibana
# Configurations
- name: Kibana configurations
lineinfile:
destfile: /etc/kibana/kibana.yml
regexp: 'server.host:'
line: 'server.host: 0.0.0.0'
- name: Kibana configurations
lineinfile:
destfile: /etc/kibana/kibana.yml
regexp: 'server.port:'
line: 'server.port: 5601'
- name: Kibana configurations
lineinfile:
destfile: /etc/kibana/kibana.yml
regexp: 'elasticsearch.url:'
line: 'elasticsearch.url: "http://localhost:9200"'
# Starting Kibana
- name: Enabling Kibana service
systemd:
name: kibana
enabled: yes
daemon_reload: yes
# Start Kibana service
- name: Starting Kibana service
systemd:
name: kibana
state: started
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment