This role installs and configures ElasticSearch on a server.
This role requires Ansible 1.4 or higher and platform requirements are listed in the metadata file.
The variables that can be passed to this role and a brief description about them are as follows.
# Elasticsearch version from debian repository
# elasticsearch.yml
es_version: 1.3
# Address of elasticsearch used by fluentd
es_fqdn: localhost
es_port: 9200
# Manage service
es_manage_service: True
# Curator tool
install_curator: True
curator_max_keep_days: 90
# Head plugin
install_head: True
# ElasticHQ plugin
install_eshq: False
# Marvel plugin
install_marvel: True
# Roles
- name: log server
hosts: logs
user: root
roles:
- elasticsearch
vars_files:
- "host_vars/elasticsearch.yml"
None
GPL
Pierre Mavro / deimosfr