Commit graph

357 commits

Author SHA1 Message Date
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
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
Dale McDiarmid
d9bb90fdc8 Idempotency fix for java 2017-03-15 14:52:58 -04:00
Dale McDiarmid
946d89ac74 Idempotent tests - Make java install idempotent 2017-03-14 12:58:46 -07:00
Dale McDiarmid
0973da9c46 Idempotent fix 2017-03-13 13:21:46 -07:00
Dale McDiarmid
480f750fd5 Merge pull request #262 from meersjo/xpack_checkmode
Add check_mode:no to x_pack_installed
2017-03-13 12:26:44 -07: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
David McDonald
00ee6ae5d2 Include RedHat 7 in distributions that should use systemd #249 2017-02-10 14:08:43 +11:00
Dale McDiarmid
914cb7867c Move restart to main from handler 2017-01-17 14:42:21 +00: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
719bd67fde X-Pack fixes - no more license file needed 2017-01-16 12:04:10 +00:00
Dale McDiarmid
4edc56f104 Move to memory_lock 2017-01-16 10:40:01 +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
86bc009b60 Logging configs for 5.0 only 2017-01-11 12:17:16 +00:00
Dale McDiarmid
cde17346d5 Version 5.0 - no need for plugin prefix 2017-01-11 10:26:57 +00:00
Dale McDiarmid
2d7b851b1f Parameters refactored for 5.x 2017-01-10 17:09:43 +00:00
Dale McDiarmid
84913049c5 Role is 5.x only so java 8 2017-01-10 16:45:40 +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
5fb4350a63 Tests back to kopf + checks to fix java cert issues 2017-01-05 14:34:47 +00:00