Ansible Role repo_elasticsearch

This role deploys the Elasticsearch Repository (both free and subscription features).

Warning: Regarding Graylog we caution you not to install or upgrade Elasticsearch to 7.11 and later! It is not supported. If you do so, it will break your instance! Use Elasticsearch 6.x or 7.10.2-1 max.

Runs on

  • RHEL 8 (and compatible)

Tags

Tag

What it does

repo_elasticsearch

Deploys the Elasticsearch Repository

Mandatory Role Variables

Variable

Description

repo_elasticsearch__version

The Elasticsearch repo version to install. One of 5.x, 6.x, 7.x or 8.x. Have a look at the Elasticsearch repository for the list of available releases.

Example:

# mandatory
repo_elasticsearch__version: '8.x'

Optional Role Variables

Variable

Description

Default Value

repo_baseos__basic_auth_login

Use HTTP basic auth to login to the repository. Defaults to lfops__repo_basic_auth_login, making it easy to set this for all repo_* roles.

{{ lfops__repo_basic_auth_login | default("") }}

repo_elasticsearch__mirror_url

Set the URL to a custom mirror server providing the repository. Defaults to lfops__repo_mirror_url to allow easily setting the same URL for all repo_* roles. If lfops__repo_mirror_url is not set, the default mirrors of the repo are used.

`‘{{ lfops__repo_mirror_url

Example:

# optional
repo_elasticsearch__basic_auth_login:
  username: 'my-username'
  password: 'linuxfabrik'
repo_elasticsearch__mirror_url: 'https://mirror.example.com'

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich