Permalink
DanielBerman
Update main.yml
7dbb17c
Jul 25, 2017
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up--- | |
# | |
# 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 |