ansible-roles/roles/elasticsearch/defaults/main.yml

26 lines
903 B
YAML

---
# Version of elasticsearch to deploy
es_version: 8.7.1
# root directory
es_root_dir: /opt/elasticsearch
# URL of the archive
es_archive_url: https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{{ es_version }}-linux-x86_64.tar.gz
# Expected sha512 of the archive
es_archive_sha512: 40216fff8f6f827164bda1ecbdcbdc30f202ef9cb8a936c60e52f16a0b6c1bfbdc884fe11d8bbebd8336507aa8ed2f0202b3b61f876d17f4a97ee9fc21f9e3be
# Should ansible handle upgrades or only initial installation ?
es_manage_upgrade: True
# User under which the service will run (will be created)
es_user: elasticsearch
# Name of the Elasticsearch cluster
es_cluster_name: elasticsearch
# Name of this ES node
es_node_name: "{{ inventory_hostname }}"
# Port on which ES will bind
es_port: 9200
# List of IP/CIDR which will have access to es_port (if iptables_manage == True)
es_src_ip: []
# Define Xms / Xmx
es_memory: 1g