Tested on Ansible 2.4.2 and Ubuntu 16.04
This role depends on a docker role and installs elasticsearch running on a docker container.
Referenced by a Install Elastic with Docker document.
This sample playbook installs production mode single es instance versioned 6.2.3 with the name, sample_cluster.
- cluster.name (optional) : default is es_cluster
- version (optional) : default is 6.2.3
- hosts: es_host
become: yes
roles:
- role: elasticsearch
cluster:
name: sample_cluster