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.
Mandatory Role Variables¶
repo_elasticsearch__version
The Elasticsearch repo version to install. One of
7.x,8.xor9.x. Have a look at the Elasticsearch repository for the list of available releases.Type: String.
Example:
# mandatory
repo_elasticsearch__version: '8.x'
Optional Role Variables¶
repo_elasticsearch__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 allrepo_*roles.Type: String.
Default:
'{{ 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_urlto allow easily setting the same URL for allrepo_*roles. Iflfops__repo_mirror_urlis not set, the default mirrors of the repo are used.Type: String.
Default:
'{{ lfops__repo_mirror_url | default("") }}'
Example:
# optional
repo_elasticsearch__basic_auth_login:
username: 'my-username'
password: 'linuxfabrik'
repo_elasticsearch__mirror_url: 'https://mirror.example.com'