Skip to content

bdclark/ansible-elasticsearch

Repository files navigation

Elasticsearch Ansible Role

Installs and configures Elasticsearch 5.x, 6.x, or 7.x.

Requirements

This role is tested on Ansible 2.6, 2.7, and 2.8 using the distributions below. Other operating systems and versions may work, YMMV.

  • Ubuntu 18.04
  • Ubuntu 16.04
  • Centos 7
  • Amazon Linux 2

Also, this role uses the json_query Ansible filter, which requires the jmespath library be installed on the Ansible workstation.

Role Variables

See defaults/main.yml for a list and description of variables used in this role.

Example Playbook

- hosts: servers
  vars:
    es_version: "6.2.2"
    es_config:
      bootstrap.memory_lock: true
  roles:
     - role: elasticsearch

About

Ansible role to install/configure Elasticsearch

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages