Skip to content

clickfreak/ansible-elasticsearch-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Ansible role to install Elasticsearch server with plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published