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

26 lines
904 B
YAML

---
# Version of elasticsearch to deploy
es_version: 7.17.5
# 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: 98791c40f7ce1ba2a463fddb0986bb6ab9f94ab6479d79f96cd9b772e5208a04c7552c56e9fea484248d2ff1dd46fa25ed7066a41160fb22eb1b8dc837448ccf
# 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