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 is kibana-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 is https://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 is kibana.
  • kibana_group: The group for the kibana_user. Default is kibana.
  • kibana_port: The port for Kibana to use. Default is 5601.
  • kibana_bind: The IP address Kibana will bind to. Default is 127.0.0.1.
  • kibana_elasticsearch_url: The URL for Elasticsearch that Kibana will connect to. Default is http://localhost:9200.
  • kibana_request_timeout: The time in milliseconds to wait for responses from Elasticsearch. It must be greater than 0. Default is 300000.
  • 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 to 0 to turn off. Default is 0.
  • kibana_verify_ssl: Set to false to ignore SSL validity checks. Default is true.
  • 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 is true.

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

GitHub project page | Manuel Tiago Pereira

Informazioni sul progetto

Ansible role for Kibana 4.

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