December 2017
Intermediate to advanced
364 pages
7h 30m
English
Install Elasticsearch from the repository with gpg key and add it to the startup programs:
- name: adding elastic gpg key for elasticsearch apt_key: url: "https://artifacts.elastic.co/GPG-KEY-elasticsearch" state: present- name: adding the elastic repository apt_repository: repo: "deb https://artifacts.elastic.co/packages/5.x/apt stable main" state: present- name: installing elasticsearch apt: name: "{{ item }}" state: present update_cache: yes with_items: - elasticsearch- name: adding elasticsearch to the startup programs service: name: elasticsearch enabled: yes notify: - start elasticsearch
Configure the Elasticsearch cluster with the required settings. Also, set up the JVM options for the Elasticsearch cluster. ...