Commit graph

333 commits

Author SHA1 Message Date
Chainarong Tangsurakit
b7b0793b37
require admin role to use update-alternatives
promote `update-alternatives` command to run as admin role
2018-04-26 14:45:12 +07: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
ebd8726804
Merge branch 'master' into naming-unnamed-tasks 2018-02-22 12:45:45 +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
a525e0bcde
Merge branch 'master' into naming-unnamed-tasks 2018-02-21 16:33:49 +01:00
Michael Russell
9647e12819
Merge branch 'master' into fix-redhat-install-elasticsearch-until-condition 2018-02-21 16:22:58 +01:00
pemontto
27d81e68dd Fix conditionals introduced in #408 2018-02-16 16:37:00 -05:00
Gabriel Preda
b3b5edef70
Fix RedHat install - until condition was not correct 2018-02-13 11:50:43 +02: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
Michael Russell
7f9ae5f2e5
Fix idempotency for redhat family when getting the java path 2018-01-31 11:08:09 +01:00
Shri Bodas
92244a7a71
Additional change to redhat check 2018-01-30 11:23:35 +01:00
Shri Bodas
cd2962ce8a
fix for Missed Redhat check for installing java 2018-01-30 11:23:35 +01:00
Shri Bodas
ce4cf24f9d
Making selection of java path more robust 2018-01-30 11:23:35 +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
5e1873ca68 Simpler restart handling + issue-test for recreation of problems 2017-08-20 10:30:39 -04: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
f6347c79ac Merge pull request #347 from phamhongviet/master
override log4j2.properties with custom template
2017-08-17 18:23:32 +01:00
Dale McDiarmid
ce180520a8 Single template file 2017-08-17 12:25:25 +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
a9987e2fb4 Merged PR #300 2017-08-16 11:08:03 +01:00
Dale McDiarmid
0e2a0a5e99 Updated init, systemd, jvm.options and tests 2017-08-16 11:05:40 +01:00
Dale McDiarmid
8f9314b312 Merge pull request #311 from companieshouse/master
Ensure elasticsearch is always started and fix yum proxy logic
2017-08-15 18:41:24 +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
Dale McDiarmid
911b2df9ac Test for plugin on standard 2017-08-15 14:31:56 +01:00
Dale McDiarmid
624b78948f Merge pull request #275 from johnr-spindance/fix/restart_check
Fix - restart check
2017-08-14 17:10:09 +01:00
Dale McDiarmid
51d488c555 Merge pull request #271 from veger/improve_plugin_handling
Fix adding of plugins when es_plugins_reinstall is false
2017-08-14 16:38:36 +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
c127cb39d1 add x-pack local install tasks 2017-06-26 12:13:34 +02:00
janderson2
9197f2fbcd Ensure elasticsearch is always started
Ensure that elasticsearch is started/running even if non of the handlers
are called.  Previously, if the host was provisioned correctly, but
elasticsearch was not running the role would not attempt to start it.
This can happen if elasticsearch was killed, or if the previous ansible
run failed prior to running the handlers.
2017-05-15 15:15:17 +01: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
sjkyspa
91310458c8 fix the check for the openjdk 2017-04-13 23:00:15 +08:00
John Reed
692637f073 Check for restarts only when restart handler executes 2017-03-21 10:13:10 -04:00
Maarten Bezemer
f5e1a94869 Fix handling of plugins when es_plugins_reinstall is false
* Get (and use) list of plugins that need to be installed
* Just remove all plugins of the remove list
2017-03-20 14:30:43 +01:00
John Reed
64f9cdbc5c Copied when statement from restart handler to the service check in tasks/main.yml 2017-03-18 18:11:36 -04:00
Dale McDiarmid
af30f882dd Fixes for multi + config tests 2017-03-16 23:59:13 +00:00
Dale McDiarmid
1bc817a378 Support for plugin diffs + improved testing on minor upgrades + fixes 2017-03-16 21:06:17 +00:00