An Ansible Role that installs Kibana on RedHat/CentOS or Debian/Ubuntu.
- This role was made to work with Nginx; other HTTP servers are not supported at this time.
- On RedHat-based distributions, the
python-passlib
library is required, which is available through the EPEL repository. You can enable EPEL by adding thegeerlingguy.repo-epel
role to your playbook.
Available variables are listed below, along with default values (see defaults/main.yml
):
workspace: /root
A workspace where Kibana's download will be stored while configuring Kibana.
kibana_root: /var/www/kibana3
The location of Kibana's base install.
kibana_server_name: logs.example.com
The FQDN or IP address of the Kibana server.
kibana_elasticsearch_port: 80
The port where Kibana will connect to Elasticsearch.
kibana_username: kibana
kibana_password: password
Kibana basic HTTP authentication username and password. Please override these with secure credentials!
kibana_password_protect_all: false
If set to false
(default), only Kibana configuration resulting in persistent changes (saving or loading dashboards, for example) will be password protected. If set to true
, all of Kibana will require password protection via Nginx HTTP basic authentication.
- geerlingguy.nginx
- geerlingguy.repo-epel (RedHat/CentOS only)
- hosts: search
roles:
- { role: geerlingguy.nginx }
- { role: geerlingguy.kibana }
MIT / BSD
This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.