| .. | ||
| defaults | ||
| files | ||
| handlers | ||
| meta | ||
| tasks | ||
| templates | ||
| tests | ||
| .travis.yml | ||
| README.md | ||
Ansible Role: Elasticsearch
An Ansible Role that installs Elasticsearch on RedHat/CentOS or Debian/Ubuntu.
Requirements
Requires at least Java 7 (Java 8+ preferred). See geerlingguy.java role instructions for installing OpenJDK 8.
Role Variables
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.
Dependencies
- geerlingguy.java
Example Playbook
- hosts: search
roles:
- geerlingguy.java
- geerlingguy.elasticsearch
License
MIT / BSD
Author Information
This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.