Merge "Expose voting-only option for master-eligible elasticsearch nodes"
This commit is contained in:
commit
bfe38b3a21
|
@ -36,3 +36,7 @@ elastic_plugins:
|
|||
# Set the addresses/interfaces for elasticsearch to bind to. If undefined, this binds to
|
||||
# localhost and the ansible_host and ansible_hostname addresses.
|
||||
elasticsearch_bind_addresses: ["127.0.0.1", "{{ ansible_host }}", "{{ ansible_hostname }}"]
|
||||
|
||||
# Set a master-eligible node to be voting only
|
||||
# By default this is set to False - all masters can be elected by default
|
||||
# elasticsearch_voting_only: true
|
||||
|
|
|
@ -96,6 +96,9 @@ cluster.initial_master_nodes: {{ master_nodes | to_json }}
|
|||
node.master: {{ elasticsearch_node_master | default(master_node) }}
|
||||
# Every node in the master list and every other node after will be a data node
|
||||
#
|
||||
# Set to prevent master-eligible nodes from becoming master
|
||||
node.voting_only: {{ elasticsearch_voting_only | default(false) }}
|
||||
#
|
||||
node.data: {{ elasticsearch_node_data | default(data_node) }}
|
||||
#
|
||||
# Ingest nodes can execute pre-processing pipelines. To override automatic
|
||||
|
|
Loading…
Reference in New Issue