0 votes
in Ansible by
ansible elasticsearch

1 Answer

0 votes
by

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

Related questions

0 votes
asked Jul 30, 2021 in Ansible by DavidAnderson
+1 vote
asked May 12, 2021 in Ansible by rajeshsharma
...