Commit graph

110 commits

Author SHA1 Message Date
Julien Mailleret
04438f9110
allow to deploy custom config files 2019-11-27 11:50:26 +01:00
Julien Mailleret
dc813aec3d
remove deprecated MAX_THREADS option
This option doesn't seem to exists anymore in elasticsearch. It's not present in current versions of system configuration provided by recent elasticsearch packages and there is no code using it inside elasticsearch.
2019-11-26 23:36:03 +01:00
Julien Mailleret
6217e9485e
stop overriding log4j configuration
The log4j configuration template provided by this ansible role doesn't reflect current log4j configuration in elasticsearch 6.x and 7.x.
Also this template doesn't contain any variable so everything is hardcoded inside.
As we don't need to override any value inside, let's use standard elasticsearch log4j configuration file provided by elasticsearch package and stop overriding it with this role.
2019-11-26 23:31:59 +01:00
pemontto
8156ab4821
Add option to forgo autogenerated SSL config 2019-11-15 12:24:29 +00:00
pemontto
70143c6327
Add es_license_api variable 2019-10-31 10:54:53 +00:00
pemontto
a2c4012197
Update and document unmanaged user vars 2019-10-28 14:25:52 +00:00
pemontto
43f7421d72
Merge branch 'master' into AddSSLSupport 2019-10-25 11:14:00 +01:00
pemontto
7fd243827c
Add configurable native realm sleep 2019-10-25 10:10:42 +01:00
pemontto
ea0a026e91
Use es_conf_dir for default cert location 2019-10-22 14:23:52 +01:00
Julien Mailleret
2425e2c78b
7.4.1 release 2019-10-22 11:31:19 +02:00
pemontto
57fa4e5176
Add option to enable xpack trial 2019-10-18 16:54:46 +01:00
pemontto
27e3cff9a2
Add option to keep existing users 2019-10-15 15:37:39 +01:00
pemontto
7196557c09
Update tests 2019-10-13 16:18:55 +01:00
Nathan Young
e2ffdce380
Add ability to use key and truststore passwords 2019-10-12 00:57:49 +01:00
Nathan Young
d0064c6a88
Add option for invalid certificates 2019-10-12 00:03:47 +01:00
Nathan Young
551d93b646
Merge branch 'master' into AddSSLSupport 2019-10-11 23:09:03 +01:00
Nathan Young
5da76a85c7
Add api scheme based on http_ssl variable 2019-10-11 17:16:35 +01:00
Nathan Young
2fb648fee6
Fix deprecated security api endpoint 2019-10-11 17:02:15 +01:00
Nathan Young
45ef5a467c
Add SSL keystore and truststore 2019-10-11 16:09:05 +01:00
Julien Mailleret
10d16a2c1f
bump elasticsearch version 2019-09-25 15:57:19 +02:00
Julien Mailleret
be7941438c
cleanup some values related to 5.x version
We can remove them since 5.x is no more supported
2019-09-16 10:46:43 +02:00
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