Skip to content

mon-elastic-elasticsearch

Used through CLI, needs te be converted to Ansible template

View in GitLab

Description

This playbook automates the deployment and management of Elasticsearch nodes in an Elastic Stack environment by using the mon-elastic-beats-filebeat role.
This Ansible role automates the installation, configuration, and management of Elasticsearch clusters. It handles tasks such as creating necessary directories, configuring systemd services, setting up JVM options, and managing Elasticsearch users and groups. The role supports SSL certificate management, including importing root and issuing CAs, and configuring secure communication. It also includes tasks for shard allocation, heap size configuration, and cluster-specific settings based on the environment (e.g., development, QA, production). The role integrates with external tools like Marvin for certificate generation and supports YUM updates for Elasticsearch and system packages. It ensures compliance with system requirements, such as file descriptor limits and secure paths, and provides flexibility for custom configurations through variables.

Credentials

Ansible vaults in vars folder

Input

Variable Description
target Target hosts for the playbook execution

Output

None

Dependencies