mtpereira.kibana
Kibana Ansible Role
This is an Ansible role for installing Kibana 4.
By default, it installs Kibana using files (tarballs) available on Kibana's official page. The script that starts Kibana was created using Pleaserun.
It was developed on Ubuntu 14.04 (Trusty) but should also work on other Debian versions.
Requirements
There are no special requirements.
Role Variables
Here are the variables you need to set:
kibana_tarball
: The name of the tarball to download. Default iskibana-4.0.1-linux-x64.tar.gz
.kibana_tarball_checksum
: The SHA256 checksum for the tarball to verify its integrity.kibana_url
: The URL to download the tarball. Default ishttps://download.elasticsearch.org/kibana/kibana
.kibana_install_dir
: The main directory for installation. Default is/opt
.kibana_user
: The user account that will run Kibana. Default iskibana
.kibana_group
: The group for thekibana_user
. Default iskibana
.kibana_port
: The port for Kibana to use. Default is5601
.kibana_bind
: The IP address Kibana will bind to. Default is127.0.0.1
.kibana_elasticsearch_url
: The URL for Elasticsearch that Kibana will connect to. Default ishttp://localhost:9200
.kibana_request_timeout
: The time in milliseconds to wait for responses from Elasticsearch. It must be greater than 0. Default is300000
.kibana_default_app
: The default view for Kibana (e.g., "discover", "visualize", "dashboard"). Default is "discover".kibana_shard_timeout
: The time in milliseconds Elasticsearch will wait for responses from shards. Set to0
to turn off. Default is0
.kibana_verify_ssl
: Set to false to ignore SSL validity checks. Default istrue
.kibana_pid
: The path for Kibana's PID file managed by the init script. The default is/var/run/kibana.pid
.kibana_running
: Whether to start the service after installation. Default istrue
.
Local Facts:
This role installs some local facts to help ensure the role can run multiple times without issues and integrate easily with other roles.
ansible_local.kibana.url
: The URL from which the installed Kibana was downloaded.ansible_local.kibana.tarball
: The tarball used for the installed Kibana.ansible_local.kibana.tarball_checksum
: The checksum of the tarball used for the installed Kibana.ansible_local.kibana.install_dir
: The directory where Kibana is installed.ansible_local.kibana.port
: The bind port from the current configuration.ansible_local.kibana.bind
: The bind address from the current configuration.
Internal Variables (do not change):
kibana_download_dir
: The directory where the tarball will be downloaded. Default is/tmp
.kibana_tarball_name
: The base name of the tarball file. Used to find the name of the extracted directory. Default is"{{ kibana_tarball | replace('.tar.gz', '') }}"
.
Dependencies
There are no dependencies.
Example Playbook
- hosts: servers
roles:
- { role: mtpereira.kibana }
License
This project is licensed under the BSD License.
Author Information
Installa
ansible-galaxy install mtpereira.kibana
Licenza
Unknown
Download
159
Proprietario
:wrench: Builder of reliable systems.
:book: Technical reviewer of the "Kubernetes on AWS" book.
:coffee: 2023 Portuguese AeroPress champion