Releases: elastic/ansible-elasticsearch
7.6.0 - 2020/02/11
- 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
7.5.1 - 2019/12/18
7.5.0 - 2019/12/09
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).
- We removed
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"
: replaceelasticsearch.j2
by your own template to use a custom/etc/default/elasticsearch
|/etc/sysconfig/elasticsearch
configuration filees_config_jvm: "jvm.options.j2"
: replacejvm.options.j2
by your own template to use a custom/etc/elasticsearch/jvm.options
configuration filees_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
7.4.0 - 2019/10/01
- 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
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
- #543 - @victorgs - Fix typo in Makefile
- #546 - @thiagonache - Fix README example
- #550 - @pemontto - Fix template conditional
- #556 - @jmlrt - Fix debian-8 test
- #557 - @jmlrt - Bump gem dependencies to fix CVE-2018-1000544 and CVE-2018-1000201
- #564 - @jmlrt - Bump all gem dependencies to fix kitchen tests
6.6.0 Release
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
- #513 - @kakoni - Fix typo in elasticsearch-parameters.yml
- #522 - @SlothOfAnarchy - Fix package download URL
- #526 - @Fra-nk - Allow not installing Elasticsearch deb repository key
- #527 - @katsukamaru - Execute java version check in check mode
6.5.1.1 Release
6.5.1 Release
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