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

26 lines
904 B
YAML

---
# Version of elasticsearch to deploy
es_version: 7.17.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: fe2ec941e98713dc9a9c4e54c411d9b63be066ec2b1ca5ec2873d70dabbde7463bc46b8785d2a82e8fcc007d340b47a2964be1637033609ffdc96756e73c6413
# 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