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
3bb1bf60
Commit
3bb1bf60
authored
Jul 24, 2017
by
Daniel Berman
Committed by
GitHub
Jul 24, 2017
Browse files
Create main.yml
parent
3c0f60fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
roles/kibana/tasks/main.yml
roles/kibana/tasks/main.yml
+34
-0
No files found.
roles/kibana/tasks/main.yml
0 → 100644
View file @
3bb1bf60
---
#
# 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
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