An Ansible Role that installs Kibana on RedHat/CentOS or Debian/Ubuntu.
None.
Available variables are listed below, along with default values (see defaults/main.yml
):
kibana_version: "7.x"
The version of kibana to install.
kibana_package: kibana
kibana_package_state: present
The specific package to be installed. You can specify a version of the package using the correct syntax for your platform and package manager by changing the package name. You can also control the package state (e.g. present
, absent
, or latest
).
kibana_service_state: started
kibana_service_enabled: true
Controls whether the kibana
service is started and enabled on system boot.
kibana_config_template: kibana.yml.j2
kibana_config_file_path: /etc/kibana/kibana.yml
The template to use for the Kibana config file, and the path to which the config file will be written.
kibana_server_port: 5601
kibana_server_host: "0.0.0.0"
The FQDN or IP address and port Kibana should use.
kibana_elasticsearch_url: "http://localhost:9200"
The URL (including port) over which Kibana will connect to Elasticsearch.
kibana_elasticsearch_username: ""
kibana_elasticsearch_password: ""
If Elasticsearch is protected by HTTP basic authentication, set the username and password so Kibana can connect.
kibana_certs_path: /etc/kibana/certs
The path to store SSL certificates and keys used by Kibana.
kibana_elasticsearch_ca_certificates: []
If Elasticsearch is secured with HTTPS, set the CA certificates so that Kibana can verify the connection.
kibana_ssl_certificate: ""
kibana_ssl_key: ""
To configure Kibana to serve traffic using HTTPS, set the path to the certificate and key relative to your playbook.
kibana_ssl_key_passphrase: ""
If the SSL key is encrypted, set the passphrase so that Kibana can decrypt the key.
kibana_extra_config: {}
If you wish to set any other config options in kibana.yml
, set them literally with this variable.
None.
- hosts: kibana
roles:
- geerlingguy.kibana
MIT / BSD
This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.