Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.03 KB

README.md

File metadata and controls

39 lines (31 loc) · 1.03 KB

Ansible Elasticsearch Role

This role installs and configures Elasticsearch from official deb repository.

Features

  • install elasticsearch with openjdk-7-jre-headless
  • install elasticsearch plugins (variable elasticsearch_plugins, by default install karmi/elasticsearch-paramedic)
  • full elasticsearch configuration over role variable (variable elasticsearch_config)

Examples

- name: deploy elasticsearch server
  hosts: elasticsearch
  sudo: yes

  roles:
    - role: clickfreak.elasticsearch
      elasticsearch_version: 1.4
      elasticsearch_config:
        network.bind_host: 127.0.0.1
        network.host: 127.0.0.1
        network.publish_host: 127.0.0.1
        http.bind_host: 127.0.0.1
        http.host: 127.0.0.1
        http.publish_host: 127.0.0.1
      elasticsearch_plugins:
      	- name: karmi/elasticsearch-paramedic
      	  check_file: '/usr/share/elasticsearch/plugins/paramedic/_site/index.html'

Author Information

Konstantin Novakovsky / Selectel LLC