Commit graph

205 commits

Author SHA1 Message Date
Dale McDiarmid
5353524137 Remove debug statements 2016-07-24 17:48:42 +01:00
Dale McDiarmid
9eacd3a5e0 Fix for detecting es version changed 2016-07-24 17:39:44 +01:00
Dale McDiarmid
0a269a3d82 Fix for plugin version check 2016-07-24 16:17:39 +01:00
Dale McDiarmid
57fa9e432b Support for all xpack features through generic install + improved tests 2016-07-24 15:25:32 +01:00
Dale McDiarmid
fdf1bda155 Shield config tests + prevent use of xpack in version < 2.0 2016-07-24 12:25:34 +01:00
Dale McDiarmid
31cc54ddbc Templates now invoked as handler to cover edge cases 2016-07-24 01:10:07 +01:00
Dale McDiarmid
048fd63602 Change shield versions if ES changes version 2016-07-23 22:37:22 +01:00
Dale McDiarmid
4f6d5b0a4a Shield now causes restart 2016-07-23 22:18:31 +01:00
Dale McDiarmid
5d3616bd20 Support for removal for shield and license 2016-07-23 21:47:27 +01:00
Dale McDiarmid
d3d9bbca17 Templates load user credentials if provided 2016-07-23 20:18:58 +01:00
Dale McDiarmid
d73e515de3 Test improvements for xpack + httplib2 support 2016-07-23 19:48:50 +01:00
Dale McDiarmid
a149328ae8 Test fixes + ensuring node is started for templates 2016-07-23 16:41:37 +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
d75961c25f Support for package downgrade 2016-07-20 14:59:10 +01:00
Dale McDiarmid
0cdc83d918 Support for package downgrade 2016-07-20 14:57:21 +01:00
Dale McDiarmid
5982dad832 107 changes 2016-07-20 13:51:14 +01:00
Dale McDiarmid
8f0f3f70fa remove .orig 2016-07-20 13:18:41 +01:00
Dale McDiarmid
97db0bde87 Merge branch 'fix_bug_in_plugins'
Conflicts in plugins resolved
2016-07-20 13:16:35 +01:00
Dale McDiarmid
f2af89972e Add defined check and merged 109 2016-07-20 13:15:51 +01:00
Dale McDiarmid
38b9f70586 No changes 2016-07-20 13:05:18 +01:00
Dale McDiarmid
59bdee229d Fix if template file globs are not defined 2016-07-20 12:47:34 +01:00
Dale McDiarmid
6160207b6f Shield tag 2016-07-08 14:49:21 +01:00
Dale McDiarmid
0d80dde1ef Initial Shield Files 2016-07-08 14:48:10 +01:00
Дехтярёв Евгений Артурович
ef1f19ab09 added new lines in tasks/elasticsearch-Debian.yml and tasks/elasticsearch-RedHat.yml 2016-05-26 07:37:33 +06:00
Дехтярёв Евгений Артурович
01401f9d55 fix for ES plugins install 2016-05-25 19:24:58 +06:00
Jonathan Strootman
87bbff5279 Add always tags to set_fact tasks
Small correction to `when` clause in `tasks/elasticsearch-plugins.yml`.
2016-04-26 12:11:13 -07:00
Jonathan Strootman
aa129e4eb4 Add tags to main.yml 2016-04-26 11:45:11 -07:00
gingerwizard
7d94121017 Merge pull request #75 from LaneCommunityCollege/optional_user
For  #36 - Add support for creating optional elasticsearch user and group
2016-04-16 12:30:46 +01:00
Dale McDiarmid
496af8b2ab Yum to not update cache 2016-04-16 11:31:50 +01:00
Dale McDiarmid
34899bde24 Idempotent Java 2016-04-16 11:22:27 +01:00
David Reagan
8393b86a27 Added support for optionally creating the elasticsearch user and group before installing elasticsearch.
Renamed vars, set the tasks to use the es_user and es_group vars in elasticsearch-optional-user.yml. Modifed README.md to list the es_user_id and es_group_id vars, made note that both vars are required if they are used. Removed the commented out instances of the vars in defaults/main.yml.

Added es_user, es_group, es_user_id, es_group_id vars to config testing.

Made conditionals use explicit 'is defined' test.

Add tests for es_user_id and es_group_id.

Update defaults/main.yml and test/integration/config.yml to match master plus test config additions.
2016-04-13 09:42:12 -07:00
gingerwizard
205840a5e4 Merge pull request #88 from qk4l/master
Removed bare variables
2016-04-03 18:37:00 +01:00
Artem Alexandrov
62c16c69c9 Fix for copying ES templates if es_templates_fileglob was specified 2016-03-31 10:51:21 +03:00
Artem Alexandrov
717dd74a9f Removed bare variables
Issue #86
2016-03-25 11:20:23 +03:00
Dale McDiarmid
9b916ccaf5 Formatting and removal of unneccessary line 2016-03-21 22:39:15 +00:00
Dale McDiarmid
bc4ee9e0f1 Better error handling for plugin install and test for removal of logging.yml 2016-03-21 22:36:22 +00:00
gingerwizard
3c5adf9961 Merge pull request #60 from barryib/add-proxy-for-plugins-installation
Define a proxy for plugin installation
2016-03-21 21:57:59 +00:00
Dale McDiarmid
cea57cdd73 Scripts and Templates to use default files directory 2016-03-21 13:21:35 +00:00
Dale McDiarmid
abf422e0e3 Moving to gem file 0.40.1 for kitchen ansible 2016-03-21 11:17:21 +00: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
Jonathan Strootman
d36f1dd497 Added with_fileglob loop to script and template
This allows the user to set the `es_template_fileglob` or
`es_scripts_fileglob` variables in order to specify a directory of index
templates or scripts.

Issue #57
2016-03-09 16:55:39 -07:00
Thierno IB. BARRY
48348df46e fix typo
fix typo
2016-01-27 19:48:19 +01:00
Thierno IB. BARRY
3f213a3b64 Define a proxy for plugin installation
Address the issue [ansible-elasticsearch
#4](https://github.com/elastic/ansible-elasticsearch/issues/4) which
add proxy for plugin installation and more generally es_proxy_host and
es_proxy_port for global usage.

Right now, it’s only used for plugins installation. In the futur, it
can be used (or defined) in the java_opts within the default file for
instance (elasticsearch.j2)
2016-01-27 17:37:07 +01:00
Dale McDiarmid
183513ecbc Minor formatting 2016-01-19 11:50:02 +01:00
Dale McDiarmid
7b620eadf9 Issue 40 + refactoring for better layout and more efficient restart process 2016-01-18 14:37:15 +00:00
Dale McDiarmid
4aee0098ce Changes to restart correctly on multi node install 2016-01-15 22:13:51 +00:00
Dale McDiarmid
7dff675f8a Silent Plugin Install 2015-12-22 09:36:12 +00:00
Dale McDiarmid
fe025c465f Fix for plugins on 1.x 2015-12-22 09:33:45 +00:00
Dale McDiarmid
dc91b70081 Systemd changes 2015-12-21 13:30:37 +00:00
Dale McDiarmid
54dd51b8a1 Multi node plugin tests 2015-12-14 19:34:09 +00:00