Categories

Dec 28, 2019 in Ansible
Q: ansible elasticsearch

1 Answer

Dec 28, 2019

Ansible role for 5.x Elasticsearch. Currently this works on Debian and RedHat based linux systems. Tested platforms are:

Ubuntu 14.04/16.04

Debian 8

Centos 7

The latest Elasticsearch versions of 5.x are actively tested. Only Ansible versions > 2.3.2 are supported, as this is currently the only version tested.

Dependency

This role uses the json_query filter which requires jmespath on the local machine.

Usage

Create your Ansible playbook with your own tasks, and include the role elasticsearch. You will have to have this repository accessible within the context of playbook, e.g.

e.g.

cd /my/repos/

git https://github.com/elastic/ansible-elasticsearch.git

cd /my/ansible/playbook

mkdir -p roles

ln -s /my/repos/ansible-elasticsearch ./roles/elasticsearch

Then create your playbook yaml adding the role elasticsearch. By default, the user is only required to specify a unique es_instance_name per role application. This should be unique per node.

The application of the elasticsearch role results in the installation of a node on a host.

ansible kibana

ansible elasticsearch 7

elk ansible

ansible galaxy

ansible elasticsearch snapshot

automate elasticsearch deployment

dockerized elasticsearch

ansible roles

Click here to read more about Ansible
Click here to read more about Insurance

Related questions

Madanswer
Oct 7 in Ansible
Oct 7 in Ansible
May 8 in Ansible
...