mtpereira.kibana
Kibana 
Ansible role for Kibana 4.
It installs Kibana from the tarballs available at Kibana's official page by default. The init script was generated using Pleaserun.
It has been developed on Ubuntu 14.04 (Trusty) but it should work on other Debian systems.
Requirements
None.
Role Variables
Required variables:
kibana_tarball: Name of the tarball to fetch fromkibana_url. Defaults tokibana-4.0.1-linux-x64.tar.gz.kibana_tarball_checksum: SHA256 sum of the tarball. It's used to check the validity of the tarball.kibana_url: URL from where the tarball will be fetched. Defaults tohttps://download.elasticsearch.org/kibana/kibana.kibana_install_dir: Base path for installation. Defaults to/opt.kibana_user: User that will run Kibana. Defaults tokibana.kibana_group: Group for thekibana_user. Defaults tokibana.kibana_port: Bind port for Kibana. Defaults to5601.kibana_bind: Bind address for Kibana. Defaults to127.0.0.1.kibana_elasticsearch_url: Elasticsearch URL where Kibana will connect. Defaults tohttp://localhost:9200.kibana_request_timeout: Time in milliseconds to wait for responses from Elasticsearch. Must be greater than 0. Defaults to300000.kibana_default_app: The default view for Kibana, e.g., "discover", "visualize", "dashboard". Defaults to "discover".kibana_shard_timeout: Time in milliseconds for Elasticsearch to wait for responses from shards. Set to0to disable. Defaults to0.kibana_verify_ssl: Set to false to have a complete disregard for the validity of the SSL. Defaults totrue.kibana_pid: Path for Kibana's PID file, managed by the init script and not by Kibana. Thepid_fileconfiguration of Kibana is not changed, since it would conflict with our init script and require mangling with/var/rundirectory permissions. Defaults to/var/run/kibana.pid.kibana_running: Start service after installation and configuration. Defaults totrue.
Local facts:
This role installs some local facts for guaranteeing idempotency and also for easier integration with other roles.
ansible_local.kibana.url: URL from where the currently installed Kibana was fetched from.ansible_local.kibana.tarball: Tarball used for the currntly installed Kibana.ansible_local.kibana.tarball_checksum: Tarball's checksum used of the currently installed Kibana.ansible_local.kibana.install_dir: Base path where Kibana is installed.ansible_local.kibana.port: Bind port of the current configuration.ansible_local.kibana.bind: Bind address of the current configuration.
Internal variables, avoid changing:
kibana_download_dir: Directory where the tarball will be downloaded to. Defaults to/tmp.kibana_tarball_name: Basename of thekibana_tarballfile. Used for getting the extracted dir name. Defaults to"{{ kibana_tarball | replace('.tar.gz', '') }}".
Dependencies
None.
Example Playbook
- hosts: servers
roles:
- { role: mtpereira.kibana }
License
BSD
Author Information
Install
ansible-galaxy install mtpereira.kibanaLicense
Unknown
Downloads
169
Owner
:wrench: Builder of reliable systems.
:book: Technical reviewer of the "Kubernetes on AWS" book.
:coffee: 2023 Portuguese AeroPress champion
