Ansible Role elasticsearch_oss

This role installs and configures a Elasticsearch OSS server.

Note that this role does NOT let you specify a particular Elasticsearch OSS server version. It simply installs the latest available Elasticsearch OSS server version from the repos configured in the system. If you want or need to install a specific Elasticsearch OSS server version, use the linuxfabrik.lfops.repo_elasticsearch_oss beforehand.

Mandatory Requirements

If you use the elasticsearch playbook, this is automatically done for you.

Tags

Tag

What it does

elasticsearch_oss

Installs and configures Elasticsearch OSS

elasticsearch_oss:state

Manages the state of the Elasticsearch OSS service

Optional Role Variables

Variable

Description

Default Value

elasticsearch_oss__action_auto_create_index__host_var /
elasticsearch_oss__action_auto_create_index__group_var

Automatic index creation allows any index to be created automatically.
For the usage in host_vars / group_vars (can only be used in one group at a time).

true

elasticsearch_oss__cluster_name__host_var /
elasticsearch_oss__cluster_name__group_var

A descriptive name for your cluster.
For the usage in host_vars / group_vars (can only be used in one group at a time).

'my-application'

elasticsearch_oss__service_enabled

Enables or disables the elasticsearch oss service, analogous to systemctl enable/disable --now.

true

Example:

# optional
elasticsearch_oss__action_auto_create_index__host_var: false
elasticsearch_oss__cluster_name__host_var: 'my-cluster'
elasticsearch_oss__service_enabled: false

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich