Ansible/roles/luther38.elasticsearch/defaults/main.yml

61 lines
1.1 KiB
YAML
Raw Normal View History

---
# This contains all the variables that can be used in the playbook
cluster_name: 'cluster'
2019-04-26 12:35:26 -07:00
node_name: 'nodeName'
# https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html
#
node_master: true
node_data: true
path_data: '/var/lib/elasticsearch'
path_logs: '/var/log/elastisearch'
http_port: 9200
### Transport ###
#
#https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-transport.html
#
# The host address to bind the transport service to. Defaults to transport.host (if set) or network.bind_host.
transport_host: 'localhost'
# A bind port range. Defaults to 9300-9400.
transport_port: 9300
#
# Discovery
#
# Format data like so " '172.0.0.1', '192.168.0.0' "
discovery_seed_host: "127.0.0.1"
#cluster_initial_master_nodes: ["node-1", "node-2"]
cluster_initial_master_nodes: "'node-1', 'node-2'"
2019-04-26 12:35:26 -07:00
#
# Firewall configuration
#
# Allow http_port though UFW
ufw_http_port: false
# Allow transport_port though UFW
ufw_transport_port: false
#
# systemd configuration
#
# Enable ElasticSearch on system startup
systemd_enabled: false
# Restart ElasticSearch after running though playbook
systemd_restart: false