Commit graph

38 commits

Author SHA1 Message Date
Julien Mailleret
cab03ece10
xpack features refactoring (#653)
- rename es_enable_xpack variable to oss_version
  this variable name should be more explicit and consistent with the xpack changes made in 6.3
  es_enable_xpack can still be used but is deprecated and will be removed in a later version.
- remove es_xpack-features variables
  this variable was not working anymore since 6.3 [0]

[0]: https://github.com/elastic/ansible-elasticsearch/issues/608
2020-06-12 18:15:03 +02:00
Duy Nguyen
9193660334
Update tasks/xpack/elasticsearch-xpack.yml
Co-Authored-By: Julien Mailleret <julien.mailleret@elastic.co>
2020-03-04 22:01:00 +08:00
Duy Nguyen
b1acff4820
Update tasks/xpack/elasticsearch-xpack.yml
Co-Authored-By: Julien Mailleret <julien.mailleret@elastic.co>
2020-03-04 22:00:50 +08:00
Duy Nguyen
444d9f473b
Update elasticsearch-xpack.yml
Refactor file module and fix file mode syntax to support octal number format
2020-03-04 14:56:35 +08:00
Julien Mailleret
9bac169862
use files permissions from official package 2019-09-18 10:57:07 +02:00
Julien Mailleret
6a1b886753
use default permissions from official package for plugin directory 2019-09-18 10:53:43 +02:00
Julien Mailleret
abaf124639
cleanup unused es_version_changed fact 2019-09-16 10:43:32 +02:00
Julien Mailleret
d5e414b9aa
clean code related to xpack plugin install
We don't need this anymore as X-Pack is now already included in elasticsearch since 6.3.
2019-09-16 10:43:32 +02:00
Julien Mailleret
2cb020a4c2
Remove multi instances support (#566)
* remove multi instances support
The goal is to stop supporting installation of more than one node in the same host. This commit update the Ansible role README documentation and remove the multi instances kitchen test.

* remove systemd and init.d templates
As we no more need to support more than one node on the same host, we no more need to override init files provided by elasticsearch official packages.

* remove file script feature
File scripts have been removed since elasticsearch 6.0 (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_scripting_changes.html#_file_scripts_removed)

* remove custom user and custom group
ES_USER and ES_GROUP settings are no longer supported (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_packaging_changes.html#_configuring_custom_user_and_group_for_package_is_no_longer_allowed)

* add upgrade procedure

* use same task for license activation with and without authentication
2019-06-03 14:18:09 +02:00
Julien Mailleret
a879b74def
[xpack] use elasticsearch default xpack features (#560)
- Stop forcing es_xpack_features variable in order to let elasticsearch install default features described in http://localhost:9200/_xpack
- Change xpack test scope to be able to test default xpack install
  - xpack scenario will test xpack install with default features
  - xpack upgrade scenario will fully test security feature
  - oss-to-xpack-upgrade will test installing only other specific features
- Cleanup some duplicate serverspec tests
- Remove `system_key`feature (deprecated in 5.6 and removed in 6.0 - [Breaking Changes 6.0.0](https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking-6.0.0-xes.html))
- Cleanup some ansible code (especially in `when` conditions)
2019-05-29 12:10:11 +02:00
Michel Weitbrecht
a10676384f Refactor deprecated filter calls
Previously, each of the calls generated a warning : "Using tests as
filters is deprecated. Instead of using `result|version_compare` use
`result is version_compare`. This feature will be removed in version
2.9.".
2018-12-28 15:36:33 +01:00
Michael Russell
6d82cf3142
WIP: 6.3 support 2018-06-13 08:29:45 +02:00
Jeffrey Everling
34f08130e1 Added changes to add required functionality and fix a bug 2018-04-24 12:51:03 +02:00
nicladas
f255051ef7
Update elasticsearch-xpack.yml
Original fact setting fails on update plays for Debian with : redhat_elasticsearch_install_from_repo is undefined.

Updated the conditional to allow multiple plays.
2018-03-09 10:43:50 -05:00
Cloud Fox
dd9b4aad97 naming unnamed tasks 2018-02-04 07:09:23 +00:00
Shri Bodas
89601d731d
Bootstrap changes only for ES 6.x and with xpack 2018-01-30 11:23:35 +01:00
Shri Bodas
9115bb4dff
Adding 6.x support with Bootstrap user addition 2018-01-30 11:23:34 +01:00
Brad Pitcher
024e6caa4b
use become: yes when root is needed 2017-05-12 13:31:50 -07:00
Dale McDiarmid
719bd67fde X-Pack fixes - no more license file needed 2017-01-16 12:04:10 +00:00
Dale McDiarmid
8772f6d605 Changes for x-pack installation 5.x 2017-01-11 13:09:05 +00:00
Dale McDiarmid
197cf05a0e Shield to Security and other X-Pack clear up 2017-01-11 13:02:23 +00:00
Dale McDiarmid
cde17346d5 Version 5.0 - no need for plugin prefix 2017-01-11 10:26:57 +00:00
Dale McDiarmid
2062e85d14 Merge conflicts 2017-01-06 10:59:16 +00:00
Dale McDiarmid
2ea0842a6c Changes to support license 2017-01-04 13:23:22 +00:00
Dale McDiarmid
6768a15b89 Merge branch 'activate-elasticsearch-license' of https://github.com/barryib/ansible-elasticsearch into barryib-activate-elasticsearch-license 2017-01-04 11:00:40 +00:00
Maarten Bezemer
ad3b20872f Store Debian and RedHat installation results in a separate variable 2016-11-03 16:11:57 +01:00
Maarten Bezemer
2771eb2a92 Add binary prefix for version 5.x 2016-11-02 14:29:11 +01:00
Thierno IB. BARRY
61a3ba32c5 add xpack license activation tests 2016-09-21 17:04:31 +02:00
Thierno IB. BARRY
fbbb06111d update xpack license's url 2016-09-19 18:39:32 +02:00
Thierno IB. BARRY
8b061afa81 Activate ES license 2016-09-19 17:40:42 +02:00
Dale McDiarmid
5353524137 Remove debug statements 2016-07-24 17:48:42 +01:00
Dale McDiarmid
9eacd3a5e0 Fix for detecting es version changed 2016-07-24 17:39:44 +01:00
Dale McDiarmid
57fa9e432b Support for all xpack features through generic install + improved tests 2016-07-24 15:25:32 +01:00
Dale McDiarmid
048fd63602 Change shield versions if ES changes version 2016-07-23 22:37:22 +01:00
Dale McDiarmid
4f6d5b0a4a Shield now causes restart 2016-07-23 22:18:31 +01:00
Dale McDiarmid
5d3616bd20 Support for removal for shield and license 2016-07-23 21:47:27 +01:00
Dale McDiarmid
d73e515de3 Test improvements for xpack + httplib2 support 2016-07-23 19:48:50 +01:00
Dale McDiarmid
ab592724d8 Initial Shield support + latest gems + single plugin dir + new port/host vars 2016-07-22 23:44:27 +01:00