- 7.8.0 as default version
PR | Author | Title |
---|---|---|
#653 | @jmlrt | Fix Xpack features refactoring |
#699 | @jmlrt | Add Debian 10 support |
- 7.7.1 as default version
- 6.8.10 as 6.x tested version
PR | Author | Title |
---|---|---|
#693 | @jurim76 | Fix typo |
#697 | @ballesterosam | Support limitnofile with systemd |
- 7.7.0 as default version
- 6.8.9 as 6.x tested version
- Updated Ansible minimal version from 2.4.2 to 2.5.0 in #690
PR | Author | Title |
---|---|---|
#689 | @CristianPupazan | Remove port from initial_master_nodes setting |
#681 | @jmlrt | Update jvm options with default values for 7.6.0 |
- 7.6.2 as default version
- 6.8.8 as 6.x tested version
PR | Author | Title |
---|---|---|
#678 | @nduytg | Update security task files |
#681 | @timdev | Introduce es_java_home variable to allow setting JAVA_HOME |
#682 | @jmlrt | Export VERSION variable to make subshell |
- 7.6.1 as default version
PR | Author | Title |
---|---|---|
#674 | @HadrienPatte | Fix typos in README |
#672 | @pgassmann | Fix check mode |
#676 | @nduytg | Lint elasticsearch-xpack.yml |
- 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 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 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 as default version
- 6.8.5 as 6.x tested version
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.
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
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
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 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 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 |
-
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).
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.
- 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)
- #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 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
- #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
- #516 - @Crazybus - Only attempt to copy the old users file if it actually exists
- 6.5.1 as default Elasticsearch version
- #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
- 6.4.0 as default Elasticsearch version
- #484 - @kimoto - Fix downgrading Elasticsearch on RedHat hosts
- #476 - @Crazybus - Fix version locking for the elasticsearch-oss package
- 6.3.1 as default Elasticsearch version
- #460 - @toadjaune - Make sure ansible doesn't fail if the default systemd service file doesn't exist
- #461 - @bilsch - Add missing become root in tasks that require root access
Elasticsearch 6.3 includes several big changes that are reflected in this role. When upgrading from module versions prior to 6.3, there are a number of upgrade considerations to take into account:
- This role defaults to the upstream package repositories, which now include X-Pack bundled by default. To preserve previous behavior which does not include X-Pack be sure to explicitly set
es_enable_xpack: false
which will install theelasticsearch-oss
package. - Great care has been taken in making sure that all upgrade paths work, however as always please take extra caution when upgrading and test in a non-production environment. New automated tests have been added to make sure that the following upgrade paths work:
- oss to oss
- oss to xpack
- xpack to xpack
- X-Pack configuration files which used to be in
${ES_PATH_CONF}/x-pack
are now in${ES_PATH_CONF}/
. If you have any configuration files in this directory not managed by ansible you will need to move them manually.
- Integration testing has been refactored in #457. This removed a lot of duplicate tests and added new tests to make sure all upgrade paths work.
- It is now possible to test Elasticsearch snapshot builds by setting
es_use_snapshot_release
totrue
- Installing
es_plugins
from custom urls is now idempotent. Previously the plugin name was being compared to the url which meant it would be reinstalled every time ansible was run because they didn't match
- #452 - @Crazybus - Add initial 6.3 support
- #454 - @Crazybus - Move jenkins matrix file into the repo so test suites are controlled via the pull request workflow
- #455 - @Crazybus - Add automated test for upgrading from oss to oss
- #457 - @Crazybus - Refactor integration tests to remove duplication and add extra suites to make sure all upgrade paths are covered
Patch release requested by @average-joe in #453
- #445 - @gekkeharry13 - Added configuration options for configuring x-pack notifications via email with some other nice fixes.
- #450 - @Crazybus - improving some flakey tests which were randomly failing.
- #447 - @chaintng - Fix to make sure sudo is used when running
update-alternatives
for java. - #423 - @eRadical - Fixing the until condition being used when installing rpms from a custom repository.
6.2.4
and5.6.9
as the default versions.
- Thanks to @cl0udf0x for adding proper names to all tasks which were unnamed #417
- Thanks @cyrilleverrier for having a keen eye and spotting this typo. #432
6.2.2
and5.6.8
as the default versions- Thanks to @pemontto for fixing up all of the ansible conditional logic elastic#429
- Thanks @cyrilleverrier for elastic#427 which makes sure x-pack settings are not in the config file when x-pack isn't enabled
6.x
is now the defaultes_major_version
with6.1.3
as the defaultes_version
- Special thanks to @shribigb, @toddlers and @remil1000 for their efforts in getting
6.x
support working! .kitchen.yml
has been updated to allow testing both6.x
and5.x
versions- A new Jenkins job has been added for pull requests to automatically test all combinations of
6.x
and5.x
on ubuntu-1404, ubuntu-1604, debian-8 and centos-7 with the various test suites.
- Fixes with respect to issues on restart.
- 5.5.1 update with supporting package scripts.
- Documentation clarification.
- Fixes for loading of templates
- Support for ML
- Ability to install x-pack from remote.