An Ansible Role that installs Elasticsearch on Debian/Ubuntu.
To test role you need molecule framework.
Available variables are listed below, along with default values (see defaults/main.yml
):
elasticsearch_network_host: localhost
Network host to listen for incoming connections on. By default we only listen on
the localhost interface. Change this to the IP address to listen on a specific interface,
or 0.0.0.0
to listen on all interfaces.
elasticsearch_http_port: 9200
The port to listen for HTTP connections on.
elasticsearch_script_inline: true
elasticsearch_script_indexed: true
Whether to allow inline scripting against ElasticSearch. You should read the following
link as there are possible security implications for enabling these options:
Enable Dynamic Scripting.
Available options include: true
, false
, and sandbox
.
- hosts: search
roles:
- elasticsearch
MIT / BSD