Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ijaz Ahmad
ansible-elk-playbook
Commits
267a6fc2
Commit
267a6fc2
authored
Jul 24, 2017
by
Daniel Berman
Committed by
GitHub
Jul 24, 2017
Browse files
Update main.yml
parent
2dc809a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
17 deletions
+21
-17
roles/kibana/tasks/main.yml
roles/kibana/tasks/main.yml
+21
-17
No files found.
roles/kibana/tasks/main.yml
View file @
267a6fc2
...
...
@@ -2,33 +2,37 @@
#
# Installing Kibana
#
# Install Kibana
-
name
:
Install Kibana with apt-get
-
shell
:
sudo apt-get install kibana
# Install Kibana
-
name
:
Install Kibana with apt
apt
:
name
:
kibana
update_cache
:
yes
# Configurations
-
name
:
Kibana configurations
lineinfile
:
-
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
:
Kibana configurations
lineinfile
:
-
name
:
Defining server port
lineinfile
:
destfile
:
/etc/kibana/kibana.yml
regexp
:
'
server.port:'
line
:
'
server.port:
5601'
-
name
:
Kibana configurations
lineinfile
:
-
name
:
Defining Elasticsearch URL
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
:
Starting Kibana
service
:
name
:
kibana
state
:
started
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment