Commit graph

74 commits

Author SHA1 Message Date
Michael Russell
ec3465a60c
Only attempt to copy the old users file if it actually exists 2018-11-27 12:50:49 +01:00
Michael Russell
f221381929
Copy the old deprecated users file when upgrading
In 6.5 Elasticsearch finds the old file which breaks the way the ansible
playbook is detecting the installed users. This means that after an
upgrade to 6.5 the users still actually exist but the playbook fails
when trying to add them again as they already exist.
2018-11-26 13:56:51 +01:00
Bill Schwanitz
cc6b4e78e2 add missing become: yes 2018-06-26 15:28:01 -04:00
Michael Russell
dce98bbd34
Revert no_log debugging 2018-06-14 16:37:31 +02: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
Michael Russell
6d82cf3142
WIP: 6.3 support 2018-06-13 08:29:45 +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 Everling
80baf268e5 SSL support optimisation 2018-05-05 07:42:08 +02:00
Jeffrey Everling
cc28b6149a Added more x-pack config options 2018-05-03 16:45:04 +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
Michael Russell
a525e0bcde
Merge branch 'master' into naming-unnamed-tasks 2018-02-21 16:33:49 +01:00
pemontto
27d81e68dd Fix conditionals introduced in #408 2018-02-16 16:37:00 -05:00
Cloud Fox
dd9b4aad97 naming unnamed tasks 2018-02-04 07:09:23 +00: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
b032eee3da Merge branch 'master' into become-yes 2017-09-21 22:22:36 -06:00
Dale McDiarmid
6fcb22125e Pause in main 2017-09-21 00:20:54 +01:00
Dale McDiarmid
7ab416c782 Move fil realm reserved user check earlier, Move template and license after naitve realm 2017-09-20 22:58:17 +01:00
Brad Pitcher
891d87c019
Merge branch 'master' into become-yes 2017-09-19 14:22:02 -06:00
Dale McDiarmid
e9a6f74d09 Fix for issue #369 2017-09-19 20:11:09 +01:00
Dale McDiarmid
0676799d1c Fix for issue 368 2017-09-19 12:21:46 +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
53741c33c6 X-pack security fix + activation 2017-08-17 21:44: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
Dale McDiarmid
b93493733d Fix for proxy settings into env var 2017-08-15 14:48:12 +01:00
Daniel Chamot
c127cb39d1 add x-pack local install tasks 2017-06-26 12:13:34 +02:00
Brad Pitcher
4731553438
typo: Native Relm->Native Realm 2017-05-12 13:38:45 -07: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
4e8af6ced5 Fixes for conditional execution as a task 2017-03-15 17:24:10 -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
Johan De Meersman
52ae57023a Add check_mode:no to x_pack_installed so ansible doesn't crash in check mode 2017-03-07 14:47:32 +01:00
Dale McDiarmid
719bd67fde X-Pack fixes - no more license file needed 2017-01-16 12:04:10 +00:00
Dale McDiarmid
7efec96ea9 Plugin fixes for 5.x 2017-01-13 15:28:53 +00:00
Dale McDiarmid
ffc417c766 remove path.work from tests 2017-01-13 12:51:25 +00:00
Dale McDiarmid
1a207458a6 Folder rename shield -> security 2017-01-11 13:09:54 +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
Benjamin Daschel
02bb86a9f2 quote interpolated variables in command 2017-01-08 15:31:11 -08: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
Dale McDiarmid
fd8e554eec merge changes for separate redhat/debian vars for main.yml 2017-01-03 11:03:15 +00:00