Commit graph

47 commits

Author SHA1 Message Date
Julien Mailleret
e6dd15ef0d
indent yaml for config file (#630) 2019-11-21 11:32:20 +01:00
pemontto
8156ab4821
Add option to forgo autogenerated SSL config 2019-11-15 12:24:29 +00: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
b792db7bc7
Fix config colons 2019-10-11 16:29:54 +01:00
Nathan Young
51eb05b6de
Move SSL config into security conditional 2019-10-11 16:16:53 +01:00
Nathan Young
45ef5a467c
Add SSL keystore and truststore 2019-10-11 16:09:05 +01: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
Julien Mailleret
226df614eb
strip spaces to avoid wrong indent 2019-07-12 11:59:07 +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
Jeffrey E
cf4da019d0
Fixed es_mail_config again
first check is es_mail_config is defined
2018-05-23 06:15:50 +02:00
Jeffrey Everling
d72ce3c22b Added path repo is defined statement again 2018-05-08 07:03:09 +02:00
Jeffrey Everling
8cfa0cfd04 Merged change 2018-05-05 08:05:14 +02:00
Jeffrey E
e880cdf61f test 2018-05-05 08:04:49 +02:00
Jeffrey Everling
796731721c Removing ssl configuration 2018-05-05 08:00:38 +02:00
Jeffrey Everling
ba080bc3c8 Revert "SSL support optimisation"
This reverts commit 80baf268e5.
2018-05-05 07:56:16 +02:00
Jeffrey E
40e5252ff4 Added support for providing an array with indices 2018-05-05 07:54:57 +02:00
Jeffrey Everling
b1e350f004 Revert "Added support for providing an array with indices"
This reverts commit da527ec19b.
2018-05-05 07:52:08 +02:00
Jeffrey Everling
80baf268e5 SSL support optimisation 2018-05-05 07:42:08 +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
da527ec19b
Added support for providing an array with indices 2018-05-03 16:29:17 +02:00
Jeffrey E
11a1e4b38a
Adjust variable name to match standard 2018-05-03 07:33:17 +02:00
Jeffrey E
7640a0383a
Update elasticsearch.yml.j2 2018-05-03 06:37:50 +02:00
Jeffrey Everling
7aebcaefa6 Added documentation for added features
Updated configuration template with if statements for optional features
2018-04-26 15:01:18 +02:00
Jeffrey Everling
34f08130e1 Added changes to add required functionality and fix a bug 2018-04-24 12:51:03 +02:00
Cyrille Verrier
e4cf9aef8c elasticsearch.yml: xpack settings added only if es_enable_xpack
the default values are:
 - es_enable_xpack: false
 - es_xpack_features: ["alerting","monitoring","graph","ml","security"]

With the default values, XPACK is not installed
But the generated elasticsearch.yml contains the XPACK Settings.
Elasticsearch application refuses to start with these unknown settings
2018-02-16 09:10:10 +01:00
Shri Bodas
9115bb4dff
Adding 6.x support with Bootstrap user addition 2018-01-30 11:23:34 +01:00
Daniel Chamot
5d85d03c9c add missing 'ml' and 'graph' to templates/elasticsearch.yml.j2 2017-06-26 11:25:14 +02: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
f664580ce6 Ability to disable x-pack features 2017-01-11 13:16:07 +00:00
Maarten Bezemer
65238c74bd Fix version_compare usage 2016-11-04 16:04:31 +01:00
Maarten Bezemer
523270405e Add support for Elasticsearch 5.x
* Use log4j2.properties instead of logging.yml
* Add jvm.options
* Use bootstrap.memory_lock instead of bootstrap.mlockall
* Get rid of work directory
* Executable does not accept `-D` anymore, replace with `-E` and `-p`
* Get rid of 5.x default (file)s
2016-11-03 15:41:42 +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
Dale McDiarmid
0fd1f34852 Fixes issue 70, Improves plugin management, Refactoring, Updates tests, Introduces multiple data dir support 2016-03-18 19:30:11 +00:00
Dale McDiarmid
86f2bd9a2d 2.0 Support + Plugin Directory Support + Supporting Tests + Defaults Change 2015-12-13 22:46:50 +00:00
Dale McDiarmid
b2997cc0bc Additional tests + support for empty es_config + documentation 2015-11-26 17:26:28 +00:00
Dale McDiarmid
4ef7436143 script fixes 2015-11-25 18:31:03 +00:00
Dale McDiarmid
bdb9ee6a4a Support for scripts 2015-11-25 17:13:45 +00:00
Dale McDiarmid
d25fc792b6 Correct handling of map in template 2015-11-25 15:28:09 +00:00
Dale McDiarmid
d34d5e6103 Changes to support Hash Map for Config 2015-11-24 17:32:36 +00:00
Dale McDiarmid
d19297adda Support for configuration per node and multiple nodes per server 2015-10-22 19:09:53 +01:00