inovia-team.elasticsearch

Ansible ElasticSearch playbook

This role installs and configures ElasticSearch on a server.

Requirements

This role requires Ansible 1.4 or higher and platform requirements are listed in the metadata file.

Role Variables

The variables that can be passed to this role and a brief description about them are as follows.

# Elasticsearch version from debian repository
es_version: 1.5
es_install_java: True
es_java_version: 'openjdk-7-jdk'
es_fqdn: localhost
es_port: 9200
es_path_data: '/path/to/data/'

# Force user ids
es_uid:
es_gid:

# Manage service
es_manage_service: True

# Curator tool
install_curator: False
curator_max_keep_days: 90

# Head plugin
install_head: False

# ElasticHQ plugin
install_eshq: False

# Marvel plugin
install_marvel: False

Examples

# Roles
- name: log server
  hosts: logs
  user: root
  roles:
    - elasticsearch
  vars_files:
    - "host_vars/elasticsearch.yml"

Dependencies

None

License

GPL

Author Information

Pierre Mavro / deimosfr

About

Ansible playbook for ElasticSearch

Install
ansible-galaxy install inovia-team.elasticsearch
GitHub repository
License
gpl-2.0
Downloads
51