Commit graph

71 commits

Author SHA1 Message Date
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
Dale McDiarmid
86f2bd9a2d 2.0 Support + Plugin Directory Support + Supporting Tests + Defaults Change 2015-12-13 22:46:50 +00:00
Dale McDiarmid
1034995899 Fix for server spec debian 8 2015-11-27 22:52:36 +00:00
Dale McDiarmid
6c4289b2df Systemd temp path for Debian 8 2015-11-27 21:43:49 +00:00
Dale McDiarmid
b750bb8759 COmment change 2015-11-27 21:09:58 +00:00
Dale McDiarmid
145f345ec1 Fixes for serverspec 2015-11-27 19:39:47 +00:00
Dale McDiarmid
37447d1618 Templates everything + Systemd improvements+fixes + Notifications for restart + Idempotent checks for multiple runs 2015-11-27 18:12:59 +00:00
Dale McDiarmid
3d7d6deef0 Debug statements removed 2015-11-27 13:47:23 +00:00
Dale McDiarmid
fe336c3767 Support for removing memory settings 2015-11-27 13:42:03 +00:00
Dale McDiarmid
d7d144b638 Support for removing mlock + max open files + fix to documentation error 2015-11-27 13:17:09 +00:00
Dale McDiarmid
b2997cc0bc Additional tests + support for empty es_config + documentation 2015-11-26 17:26:28 +00:00
Dale McDiarmid
bddb7ee20b Tests for scripts, templates and mlock all on multi node installs 2015-11-26 14:45:00 +00:00
Dale McDiarmid
dc9b2dd53c Support for mlock with tests 2015-11-26 14:19:25 +00:00
Dale McDiarmid
f2621c4af9 Require ports and unicast to be specified for 2.0 2015-11-26 10:56:35 +00:00
Dale McDiarmid
61fa65d161 Tests for templates 2015-11-26 10:20:58 +00:00
Dale McDiarmid
23c8bdb7de Fixes for scripts, Logging.yml moved 2015-11-25 23:43:01 +00:00
Dale McDiarmid
4ef7436143 script fixes 2015-11-25 18:31:03 +00:00
Dale McDiarmid
1739cc8595 Script tests 2015-11-25 17:40:28 +00:00
Dale McDiarmid
bdb9ee6a4a Support for scripts 2015-11-25 17:13:45 +00:00
Dale McDiarmid
d25fc792b6 Correct handling of map in template 2015-11-25 15:28:09 +00:00
Dale McDiarmid
d34d5e6103 Changes to support Hash Map for Config 2015-11-24 17:32:36 +00:00
Dale McDiarmid
d19297adda Support for configuration per node and multiple nodes per server 2015-10-22 19:09:53 +01:00
Jakob Reiter
ec2105dc6a Added task to wait for es to startup. Adding templates failed sometimes if startup wasn't completed 2015-10-19 14:47:55 +02:00
Jakob Reiter
753c182a70 Added task to install templates if es_templates is set 2015-10-19 14:47:55 +02:00
Jakob Reiter
d42fe1b8bb Added templates task. Moved version lock tasks into Distro specific tasks 2015-10-19 14:47:54 +02:00
Jakob Reiter
af084b6f35 Changed versionlock include name 2015-10-19 14:47:54 +02:00
Jakob Reiter
9a0def79e0 Change versionlock command to first remove the lock and then add a new one based on the es_version variable 2015-10-19 14:47:54 +02:00
Jakob Reiter
cd9d8565a4 Added versionlock to elasticsearch-RedHat.yml as it has to be done before install 2015-10-19 14:47:54 +02:00
Jakob Reiter
13f0d277ef Added funktionality to copy elasticsearch scripts from ansible host to elasticsearch server.
Closes #5
2015-10-19 14:47:23 +02:00
Jakob Reiter
e0fb7a1177 Added include for elasticsearch scripts 2015-10-19 14:47:23 +02:00
Jakob Reiter
51c18c0997 Failed to commit changes in tasks/main.yml in 441d323 2015-10-19 14:47:22 +02:00
Jakob Reiter
457cffb100 Removed java list functionality, Closes #22. Simplified whole java task. 2015-10-19 14:47:22 +02:00
Jakob Reiter
cb2d9a1530 Use es_custom_package_url in EL if provided. 2015-10-19 14:47:22 +02:00
Jakob Reiter
17868c2229 Changed variable name to es_pakage_url to reflect changes from 3dc934b 2015-10-19 14:47:22 +02:00
Jakob Reiter
744da68d6d Changed package url variable to es_package_url and added functionality to install from custom url via es_custom_package_url 2015-10-19 14:47:22 +02:00