An Ansible Role that installs Elasticsearch on RedHat/CentOS or Debian/Ubuntu.
None.
Only for Debian/Ubuntu, the Elasticsearch Version to be installed can be customized via the
"elasticsearch_version" variable. The default value is 1.4
.
To override this default, define this variable with the desired value (e.g. 1.7
)
in the Playbook or Inventory.
Available variables are listed below, along with default values (see vars/main.yml):
es_network_host: localhost
Elasticsearch network.host
Setting.
To listen to multiple interfaces, e.g. on eth1 and localhost, use the array syntax and escape the quotes:
roles:
- { role: geerlingguy.elasticsearch, es_network_host: '[\"_eth1:ipv4_\", \"localhost\"]' }
- geerlingguy.java
- hosts: search
roles:
- { role: geerlingguy.java }
- { role: geerlingguy.elasticsearch }
MIT / BSD
This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.