Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

38 lines (30 sloc) 712 Bytes
---
#
# Installing Kibana
#
# Install Kibana
- name: Install Kibana with apt
apt:
name: kibana
update_cache: yes
# Configurations
- name: Updating the config file to allow outside access
lineinfile:
destfile: /etc/kibana/kibana.yml
regexp: 'server.host:'
line: 'server.host: 0.0.0.0'
- name: Defining server port
lineinfile:
destfile: /etc/kibana/kibana.yml
regexp: 'server.port:'
line: 'server.port: 5601'
- name: Defining Elasticsearch URL
lineinfile:
destfile: /etc/kibana/kibana.yml
regexp: 'elasticsearch.url:'
line: 'elasticsearch.url: "http://localhost:9200"'
# Starting Kibana
- name: Starting Kibana
service:
name: kibana
state: started
You can’t perform that action at this time.