Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Releases: elastic/ansible-elasticsearch

7.6.0 - 2020/02/11

11 Feb 17:44
2a7a6d5
Compare
Choose a tag to compare
  • 7.6.0 as default version
PR Author Title
#667 @dependabot[bot] Bump rubyzip from 1.2.2 to 2.0.0
#671 @haslersn Remove whitespaces before newmines
#669 @rs-garrick Several tasks in elasticsearch-ssl.yml missing become

7.5.2 - 2020/01/21

21 Jan 20:07
5924b0d
Compare
Choose a tag to compare
  • 7.5.2 as default version
PR Author Title
#648 @jmlrt add proxy options to ES_JAVA_OPTS when defined with es_proxy_host
#657 @jakommo switched relative URLs to absolute URLs
#664 @jmlrt bump ruby to 2.5.7

7.5.1 - 2019/12/18

18 Dec 19:25
754ce50
Compare
Choose a tag to compare
  • 7.5.1 as default version
  • 6.8.6 as 6.x tested version
PR Author Title
#643 @jmlrt Set templates task to run only if es_templates is true
#647 @jmlrt Fix when condition for es_ssl_certificate_authority

7.5.0 - 2019/12/09

09 Dec 14:51
d145d18
Compare
Choose a tag to compare

Breaking changes

Removing the MAX_THREAD settings

Ansible-elasticsearch 7.5.0 is removing the option to customize the maximum number of threads the process can start in #637.
We discovered that this option wasn't working anymore since multi-instance support removal in ansible-elasticsearch 7.1.1.
This option will be added back in a following release if it's still relevant regarding latest Elasticsearch evolutions.

Changes about configuration files

Ansible-elasticsearch 7.5.0 is updating the configuration files provided by this role in #637 which contained some otions deprecated in 6.x and 7.x:

  • /etc/default/elasticsearch|/etc/sysconfig/elasticsearch: the new template reflect the configuration file provided by Elasticsearch >= 6.x, the parameter we removed were already not used in 6.x and 7.x
  • /etc/elasticsearch/jvm.options: the new template reflect the configuration files provided by Elasticsearch >= 6.x
  • /etc/elasticsearch/log4j2.properties:
    • We removed log4j2.properties.j2 template from this Ansible role as it was a static file not bringing any customization specific to some ansible variable.
    • Deployment of this Ansible role on new servers will get the default log4j2.properties provided by Elastisearch without any override.
    • WARNING: For upgrade scenarios where this file was already managed by previous versions of ansible-elasticsearch, this file will become unmanaged and won't be updated by default. If you wish to update it to 7.5 version, you can retrieve it here and use this file with es_config_log4j2 Ansible variable (see below).
How to override configuration files provided by ansible-elasticsearch?

You can now override the configuration files with your own versions by using the following Ansible variables:

  • es_config_default: "elasticsearch.j2": replace elasticsearch.j2 by your own template to use a custom /etc/default/elasticsearch|/etc/sysconfig/elasticsearch configuration file
  • es_config_jvm: "jvm.options.j2": replace jvm.options.j2 by your own template to use a custom /etc/elasticsearch/jvm.options configuration file
  • es_config_log4j2: "": set this variable to the path of your own template to use a custom /etc/elasticsearch/log4j2.properties configuration file

SSL/TLS Support

Ansible-elasticsearch is now supporting SSL/TLS encryption. Please refer to X-Pack Security SSL/TLS to configure it.

PR Author Title
#625 @jmlrt Add bumper script
#575 @flyinggecko Docs: Fix name of elasticsearch ansible role
#629 @patsevanton Add cluster.initial_master_nodes
#620 @pemontto Add SSL/TLS support
#630 @jmlrt Indent yaml for config file
#636 @jmlrt Bump elasticsearch to 6.8.5 and 7.4.2
#637 @jmlrt Use default config files

7.4.1 - 2019/10/23

23 Oct 15:26
b7c0471
Compare
Choose a tag to compare
  • 7.4.1 as default version
  • 6.8.4 as 6.x tested version
PR Author Title
#617 @jmlrt Use systemd ansible module for daemon-reload
#618 @jmlrt Fix probot newlines
#619 @jmlrt Fix python AttributeError + format code with black

7.4.0 - 2019/10/01

01 Oct 16:02
aff478f
Compare
Choose a tag to compare
  • 7.4.0 as default version
  • Remove compatibility with versions < 6.3
PR Author Title
#575 @flyinggecko Fix name of Elasticsearch Ansible role
#578 @jmlrt Fix dict object has no attribute dict_keys issue with Python3
#588 @broferek Move userid and groupid in a different place in the role
#591 @Crazybus Add back in force_basic_auth for all http requests
#582 @ktibi Allow disable Elastic official repository setup
#593 @jmlrt Bunch of small fixes
#595 @broferek Set limitMEMLOCK for OS using Systemd
#600 @titan-architrave Always gather the es_major_version variables
#605 @jmlrt Add doc for migration with data move
#601 @LukeRoz Removing package version hold when es_version_hold: false
#612 @jmlrt Add Probot config to manage stale issues/pr
#614 @jmlrt Describe how to select a different elasticsearch version
#609 @jmlrt No more 6.3 compatibility + Use default files permissions from Elasticsearch package
#510 @verboEse Don't fetch APT key if existent

7.1.1 Release

04 Jun 10:20
c0238ed
Compare
Choose a tag to compare

7.1.1 - 2019/06/04

Breaking changes

End of multi-instance support

  • Starting with ansible-elasticsearch:7.1.1, installing more than one instance of Elasticsearch on the same host is no longer supported.

  • Configuration, datas, logs and PID directories are now using standard paths like in the official Elasticsearch packages.

  • If you use only one instance but want to upgrade from an older ansible-elasticsearch version, follow upgrade procedure

  • If you install more than one instance of Elasticsearch on the same host (with different ports, directory and config files), do not update to ansible-elasticsearch >= 7.1.1, please follow this workaround instead.

  • For multi-instances use cases, we are now recommending Docker containers using our official images (https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html).

Moved some security features to basic

You can now using basic authentication by overriding es_api_basic_auth_username and es_api_basic_auth_password variables without providing a license file.

Features

  • 7.1.1 as default Elasticsearch version
  • #539 and #542 - @grzegorznowak - Make ansible role compatible with ansible check mode
  • #558 - @jmlrt - Add support for Elasticsearch 7.x, remove 5.x support and update tests
  • #560 - @jmlrt - Use default xpack features and remove system_key deprecated feature
  • #562 - @hamishforbes - Allow to customize instance suffix
  • #566 - @jmlrt - Remove multi-instances support
  • #567 - @jmlrt - Remove file scripts deprecated feature
  • #568 - @jmlrt - Skip Java install for Elasticsearch 7.x (java is now embeded)

Fixes

6.6.0 Release

30 Jan 09:43
0ccf608
Compare
Choose a tag to compare

6.6.0 - 2019/01/29

Features

  • 6.6.0 as default Elasticsearch version
  • #521 - @Crazybus - Allow switching between oss and standard packages
  • #528 - @Fra-nk - Use systemd's RequiresMountsFor
  • #530 - @lde - Use dpkg_selections to lock elasticsearch version

Fixes

6.5.1.1 Release

27 Nov 15:17
f89f56b
Compare
Choose a tag to compare

6.5.1.1 - 2018/11/27

Fixes

  • #516 - @Crazybus - Only attempt to copy the old users file if it actually exists

6.5.1 Release

27 Nov 06:47
7675443
Compare
Choose a tag to compare

6.5.1 - 2018/11/26

Features

  • 6.5.1 as default Elasticsearch version

Fixes

  • #487 - @lazouz - Disable check mode to make install plugins idempotent
  • #501 - @kaxil - Make the order of configs consistent for comparing
  • #497 - @Crazybus - Document es_use_repository and es_custom_package_url
  • #504 - @victorgs - Using tests as filters is deprecated
  • #493 - @Crazybus - Only use the first found java version if there are multiple installed