Commit graph

80 commits

Author SHA1 Message Date
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
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