databases/roles/elasticsearch
2024-10-28 20:25:21 +01:00
..
defaults update(elasticsearch): bump version to 8.15.3 2024-10-28 20:25:21 +01:00
meta chore(elasticsearch): add role metadata 2024-10-28 19:53:33 +01:00
tasks refactor(elasticsearch): add state=absent support, migrate to fully-qualified module names, split container image into parts 2024-10-28 20:24:14 +01:00
vars refactor(elasticsearch): add state=absent support, migrate to fully-qualified module names, split container image into parts 2024-10-28 20:24:14 +01:00
README.md feat(elasticsearch): add migrated role from finallycoffee.services 2024-10-28 19:48:06 +01:00

finallycoffee.base.elastiscsearch

A simple ansible role which deploys a single-node elastic container to provide an easy way to do some indexing.

Usage

Per default, /opt/elasticsearch/data is used to persist data, it is customizable by using either elasticsearch_base_path or elasticsearch_data_path.

As elasticsearch be can be quite memory heavy, the maximum amount of allowed RAM can be configured using elasticsearch_allocated_ram_mb, defaulting to 512 (mb).

The cluster name and discovery type can be overridden using elasticsearch_config_cluster_name (default: elastic) and elasticsearch_config_discovery_type (default: single-node), should one need a multi-node elasticsearch deployment.

Per default, no ports or networks are mapped, and explizit mapping using either ports (elasticsearch_container_ports) or networks (elasticsearch_container_networks) is required in order for other services to use elastic.