Commit 7dbb17cb authored by Daniel Berman's avatar Daniel Berman Committed by GitHub
Browse files

Update main.yml

parent c5b3b70d
......@@ -5,27 +5,27 @@
# Install Kibana
- name: Install Kibana with apt
apt:
name: kibana
update_cache: yes
- name: Install Kibana with apt
apt:
name: kibana
update_cache: yes
# Configurations
- name: Updating the config file to allow outside access
lineinfile:
lineinfile:
destfile: /etc/kibana/kibana.yml
regexp: 'server.host:'
line: 'server.host: 0.0.0.0'
- name: Defining server port
lineinfile:
lineinfile:
destfile: /etc/kibana/kibana.yml
regexp: 'server.port:'
line: 'server.port: 5601'
- name: Defining Elasticsearch URL
lineinfile:
lineinfile:
destfile: /etc/kibana/kibana.yml
regexp: 'elasticsearch.url:'
line: 'elasticsearch.url: "http://localhost:9200"'
......@@ -33,6 +33,6 @@
# Starting Kibana
- name: Starting Kibana
service:
service:
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