Bernhard Flühmann
78e805e6cb
Ad support for elasticsearch-keystore entries ( #769 )
2021-02-03 18:37:52 +01:00
Wade Rossmann
50bf641b8c
Properly quote password in shell command ( #715 )
2020-08-26 08:42:43 +02:00
Duy Nguyen
c4e00fdc5f
Update elasticsearch-security.yml
...
Refactor template task for copying roles files
2020-03-06 15:15:28 +08:00
Julien Mailleret
9bac169862
use files permissions from official package
2019-09-18 10:57:07 +02:00
Julien Mailleret
c8b666bd79
remove /etc/elasticsearch/security directory creation
...
This directory isn't used anywhere in this ansible-role
2019-09-18 09:51:45 +02:00
Julien Mailleret
27a524cd07
remove x-pack dir creation
2019-09-16 10:43:32 +02:00
Julien Mailleret
0f601259c6
clean es_xpack_conf_subdir variable
...
This variable was added to manage specific x-pack dir with version < 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
Grzegorz Nowak
785ce1cd26
add a few more 'check_mode:no' props for compatiblity with --check mode of ansible
2019-03-14 09:24:06 +01: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
Bill Schwanitz
cc6b4e78e2
add missing become: yes
2018-06-26 15:28:01 -04:00
Michael Russell
77d47e3235
Don't use the 'x-pack' subdir now that x-pack is part of core
2018-06-14 16:33:40 +02:00
Michael Russell
bbc5e0603d
Abstract 6.3 changes into a separate task to reduce all of the jinja one
...
liner complexity
Set ES_PATH_CONF when installing so upgrading from 6.2 to 6.3 works as
expected
2018-06-14 14:44:31 +02:00
Michael Russell
e5809a3169
Create the keystore if it doesn't already exist
2018-06-13 17:33:23 +02:00
pemontto
27d81e68dd
Fix conditionals introduced in #408
2018-02-16 16:37:00 -05:00
Michael Russell
6ddc7ce13d
Fix idempotency test when listing the current users
2018-01-31 13:03:51 +01: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
891d87c019
Merge branch 'master' into become-yes
2017-09-19 14:22:02 -06:00
Dale McDiarmid
0676799d1c
Fix for issue 368
2017-09-19 12:21:46 +01:00
Dale McDiarmid
32ff70601a
Merge pull request #291 from rusnyder/role-mapping-xpack-dir
...
Moved up the x-pack directory logic to include role_mappings
2017-08-15 14:59:22 +01:00
Brad Pitcher
024e6caa4b
use become: yes when root is needed
2017-05-12 13:31:50 -07:00
Russell Snyder
eed6352dfb
Moved up the x-pack directory logic to include role_mappings
...
Signed-off-by: Russell Snyder <russell@redowl.com>
2017-04-18 13:26:16 -04:00
Dale McDiarmid
595368f873
Re-structure to make xpack idempotent
2017-03-15 16:12:22 -04:00
Dale McDiarmid
ddbf4ad956
Fix for idempotent security
2017-03-15 15:19:39 -04:00
Dale McDiarmid
1a207458a6
Folder rename shield -> security
2017-01-11 13:09:54 +00:00