elasticsearch

Elasticearch

Build Status

Uma ansible role que instala o ElasticSearch para atender o framework lumisportal no RedHat/CentOS.

Requirements

É necessário JAVA JDK instalado. Veja jeduoliveira.zulu_openjdk role tem instruções para instalar o Zulu OpenJDK.

Role Variables

As variáveis abaixo são listadas como padrão. (Veja defaults/main.yml)

elasticsearch_package_state: present
elasticsearch_service_state: started
elasticsearch_service_enabled: true

elasticsearch_version: 6.2.2

elasticsearch_network_host: 0.0.0.0
elasticsearch_http_port: 9200

elasticsearch_cluster_name: lumisportal
elasticsearch_node_name: node-1

elasticsearch_data: /var/lib/elasticsearch
elasticsearch_logs: /var/log/elasticsearch

elasticsearch_heap: 512m

elasticsearch_logger_action_level: info

As variáveis listadas como vars (veja em vars/main.yml)

elasticsearch_jvm:
  - regexp: '^-Xms'
    line: -Xms{{ elasticsearch_heap }}
  - regexp: '^-Xmx'
    line: -Xmx{{ elasticsearch_heap }}

Dependencies

dependencies:
  - jeduoliveira.zulu_openjdk

Example Playbook

- hosts: all
  gather_facts: True

  roles:    
    - role: ansible-role-elasticsearch
      elasticsearch_version: 6.2.2
      elasticsearch_heap: 2g
      elasticsearch_logger_action_level: error 

License

MIT / BSD

Author Information

Está role foi criada em 2019 por Jorge Eduardo.

Install
ansible-galaxy install jeduoliveira/ansible-role-elasticsearch
GitHub repository
License
Unknown
Downloads
225
Owner
Cloud Solutions Architect // AWS Certified Solutions Architect // BR