Skip to content

oddly.elasticstack

An Ansible collection for deploying and managing the Elastic Stack — Elasticsearch, Kibana, Logstash, and Beats — on Debian, Ubuntu, and RHEL/Rocky Linux.

# Install
ansible-galaxy collection install oddly.elasticstack

# Deploy a 3-node cluster with Kibana
- hosts: all
  vars:
    elasticstack_release: 9
    elasticstack_full_stack: true
  roles:
    - oddly.elasticstack.repos
    - oddly.elasticstack.elasticsearch
    - oddly.elasticstack.kibana

Features

  • Full lifecycle management — from repository setup through rolling upgrades
  • Automatic TLS — generates and distributes certificates for inter-node and HTTP encryption
  • Security bootstrapping — creates users, roles, and passwords on first run
  • Rolling upgrades — 8.x to 9.x with zero-downtime node-by-node upgrades
  • Multi-platform — Debian 12-13, Ubuntu 22.04/24.04/26.04, Rocky Linux/RHEL 9-10
  • Getting Started

    Install the collection and deploy your first cluster in minutes.

  • Guide

    Understand the architecture, TLS model, and how the roles work together.

  • Reference

    Every variable, default, and option for each role.

  • How To

    Task-oriented recipes for common operations.

  • FAQ

    Answers to common questions and troubleshooting tips.