Commit graph

89 commits

Author SHA1 Message Date
Aeva
6f93938c48
Merge branch 'master' into AddSSLSupport 2019-07-24 13:22:21 -07:00
Aeva Black
d7efa2048a Add SSL/TLS support
This commit introduces SSL/TLS support for the elastic search transport
layer. It assumes certificates are generated externally, and only
handles uploading and configuring the server accordingly.
2019-07-23 08:17:39 -07:00
Kevin Tibi
812faf9596 Add option for disable the addition of official repository 2019-07-03 17:24:50 +02:00
Julien Mailleret
c0238edb38
release 7.1.1 version (#573) 2019-06-04 12:18:30 +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
7f5be969e0
skip java install on 7.x (java embeded in 7.x version) (#568) 2019-05-29 17:51:02 +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
Julien Mailleret
1585ec2c1c
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)
2019-05-27 18:16:50 +02:00
Julien Mailleret
a1c81884e2
[7.x] add support for elasticsearch 7.x and remove support for 5.x (#558)
- add support for elasticsearch 7.x
- remove support for elasticsearch 5.x
- update kitchen-ansible configuration (install ansible and jmespath dependencies using os repositories)
- replace geoip plugin in tests as this one is now embeded in elasticsearch since 6.7.0 (cf. https://www.elastic.co/guide/en/elasticsearch/plugins/6.7/ingest-geoip.html)
- update discovery configuration for 7.x (in ES 7.x, discovery.zen.ping.unicast.hosts is replaced by discovery.seed_hosts and transport.tcp.port is replaced by transport.port, also discovery.seed_hosts is disabled on master nodes to avoid "master_not_discovered_exception" error when creating templates in the same play)
- update index template structure for 7.x 
- update security realms settings for 7.x (cf. https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html#include-realm-type-in-setting)
2019-05-09 09:06:02 +02:00
Branen Salmon
59de0102a8
Merge branch 'master' into es_repo_base 2019-03-12 09:56:36 -04:00
Michael Russell
b040c4562e
Merge branch 'master' into filter-deprecation-fix 2019-03-11 21:49:16 +09:00
branen
0b0ee6f299
Merge branch 'master' into es_repo_base 2019-02-06 12:40:00 -05:00
Michael Russell
f169a434d8
Bump default version to 6.6.0 2019-01-29 17:13:59 +01:00
Branen Salmon
2aa0b38449
Template out the base of repo URLs
Some popular artifact caches (e.g. Artifactory) do not provide HTTP
CONNECT endpoints and thus aren't supported by es_proxy_host and
es_proxy_port.  This patch templates out the scheme and authority
components (i.e. "https://artifacts.elastic.co" ) of the apt and
yum repo URLs to accommodate the use of such artifact caches.
2019-01-16 16:28:07 -05: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
9fff18758e
Bump version to 6.5.1 and document installing test dependencies #508 2018-11-26 11:25:10 +01:00
Michael Russell
3569a3b018
Upgrade default Elasticsearch version to 6.4.0 2018-08-24 16:03:32 +02:00
Michael Russell
c8ededa721
Bump default version to 6.3.1 2018-07-05 18:59:40 +02:00
Michael Russell
715bd8591e
Use final 6.3.0 release instead of snapshot 2018-06-13 21:34:32 +02:00
Michael Russell
6d82cf3142
WIP: 6.3 support 2018-06-13 08:29:45 +02:00
Jeffrey E
c79fd2ef09
Readded es_action_auto_create_index
Default value is es_action_auto_create_index: true
2018-05-22 20:25:39 +02:00
Jeffrey Everling
796731721c Removing ssl configuration 2018-05-05 08:00:38 +02:00
Jeffrey Everling
479119540e Sync with HEAD 2018-05-03 16:55:16 +02:00
Jeffrey Everling
cc28b6149a Added more x-pack config options 2018-05-03 16:45:04 +02:00
Jeffrey E
4caefef961
Added es_action_auto_create_index: true 2018-05-03 07:23:24 +02:00
Dejon Gill
f67eae6eb0 bump es release version 2018-04-23 22:18:43 -07:00
Michael Russell
51d9f83f74
Bump default elasticsearch version to 6.2.3 2018-03-21 08:37:46 +01:00
Michael Russell
fe0fc4b430
Bump default version to 6.2.2 and 5.6.8 2018-02-21 21:09:15 +01:00
Michael Russell
03a685b29d
Merge pull request #392 from edge-records/master
Parameterize timeout value for ES startup in Debian SysV init scripts
2018-02-01 17:04:15 +01:00
Michael Russell
4548f00cc0
Merge pull request #393 from gredinger/gredinger-patch-1
Grammar
2018-02-01 16:41:35 +01:00
Michael Russell
fbfc85e766
Make 6.x the default version 2018-02-01 14:54:16 +01:00
Shri Bodas
9115bb4dff
Adding 6.x support with Bootstrap user addition 2018-01-30 11:23:34 +01:00
Gene Redinger
662edd6e8c Grammar 2017-10-11 20:22:27 -04:00
Stephan Eckweiler
c018a3a7d1 parameterize debian init startup timeout 2017-10-09 17:11:06 +01:00
Dale McDiarmid
3a0940fcb7 Merge branch 'xpack' of https://github.com/nullkarma/ansible-elasticsearch into nullkarma-xpack 2017-08-18 19:38:16 +01:00
Dale McDiarmid
23abae8c67 Merge pull request #308 from silverlogic/systemd-limit-nproc
allow max threads to be configured
2017-08-18 16:20:29 +01:00
Ryan Pineo
2f96bc42f4 allow max threads to be configured 2017-08-18 11:04:56 -04:00
Dale McDiarmid
f6347c79ac Merge pull request #347 from phamhongviet/master
override log4j2.properties with custom template
2017-08-17 18:23:32 +01:00
Dale McDiarmid
979ef94f77 Fix feedback from @barryib 2017-08-17 10:05:32 +01:00
Dale McDiarmid
87e32dc241 Reworking of templates 2017-08-16 12:41:10 +01:00
Dale McDiarmid
77f5a7bf3c Moving to 5.5.1 2017-08-15 18:42:13 +01:00
Viet Pham
7c01c8e02b be able to override log4j2.properties with custom template using variable es_config_log4j2 as the template path 2017-08-04 18:22:12 +07:00
Daniel Chamot
2c129af421 add 'ml' to es_xpack_features 2017-06-26 11:24:20 +02:00
Dale McDiarmid
1bc817a378 Support for plugin diffs + improved testing on minor upgrades + fixes 2017-03-16 21:06:17 +00:00
p.molyavin
425278923f Refactor to more common options for jvm 2017-02-13 13:13:20 +07:00
p.molyavin
44499d1ec3 Add options to enable jmx monitoring 2017-02-10 13:50:01 +07:00
Dale McDiarmid
42c84e07a2 Updated debian scripts 2017-01-17 11:00:25 +00:00
Dale McDiarmid
fedccafb67 remove work dir for 5.x 2017-01-17 10:50:19 +00:00
Dale McDiarmid
0656a19501 Reporting should not be declared as x-pack feature 2017-01-16 12:19:22 +00:00
Dale McDiarmid
661ec80447 move to 5.1.2 2017-01-13 12:18:33 +00:00