Commit graph

326 commits

Author SHA1 Message Date
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
Dale McDiarmid
2ea0842a6c Changes to support license 2017-01-04 13:23:22 +00:00
Dale McDiarmid
6768a15b89 Merge branch 'activate-elasticsearch-license' of https://github.com/barryib/ansible-elasticsearch into barryib-activate-elasticsearch-license 2017-01-04 11:00:40 +00:00
Dale McDiarmid
cc60a4ecbb Fix to use redhat_elasticsearch_install_from_repo 2017-01-03 18:10:45 +00:00
Dale McDiarmid
be0877f564 Merged main.yml 2017-01-03 16:13:13 +00:00
Dale McDiarmid
fd8e554eec merge changes for separate redhat/debian vars for main.yml 2017-01-03 11:03:15 +00:00
Dale McDiarmid
199cd160bf Merge branch 'add_retries_for_plugins_install' of https://github.com/dekhtyarev/ansible-elasticsearch into dekhtyarev-add_retries_for_plugins_install 2017-01-03 10:44:12 +00:00
Dale McDiarmid
09fa4f1829 Fix for unauthenticated repos 2017-01-03 10:36:23 +00:00
Dale McDiarmid
fdcd97aade Merge branch 'for_upstream' of https://github.com/meersjo/ansible-elasticsearch into meersjo-for_upstream 2017-01-02 20:06:17 +00:00
Jakob Reiter
6b6bf63b80 Merge pull request #207 from veger/fix_plugin_installation
Add binary prefix for version 5.x
2016-12-14 10:13:30 +01:00
Maarten Bezemer
49dfa81684 Make prefix available when es_plugins is not defined 2016-12-07 22:54:33 +01:00
Jakob Reiter
2a27c76bff Merge pull request #206 from veger/fix_es5_issues
Initial PR for adding 5.x support. Please note, this is still in testing.
2016-12-07 01:16:45 +01:00
Konstantin Papkovskiy
b0de7b654a Remove httplib2
The dependency on httplib2 was removed in Ansible 2.1
2016-12-05 17:47:52 +03:00
Jakob Reiter
9dc21d4e39 Merge pull request #200 from jakommo/master
Conditional for checking if shield is in the feature list, did not work.
Closes #190
2016-11-29 22:24:06 +01:00
Jakob Reiter
5619ada110 Conditional for checking if shield is in the feature list, did not work.
Closes #190
2016-11-29 22:11:16 +01:00
Дехтярёв Евгений Артурович
61bb156dbe Add retries for install plugins task 2016-11-25 17:21:13 +07:00
Jakob Reiter
0dde27d952 Merge pull request #169 from rcwsr/restart-on-config-change
Restart on config change
2016-11-09 12:58:35 +01:00
Jakob Reiter
286a93ea86 When a second node is installed, the shield directory and the user* files are not automatically created.
This could cause the role to fail.
- Added check to that shield directory exists
- Added chown -R for the shield directory, as user* files created by the esusers command, belonged to the user ansible is running as.
2016-11-07 18:38:58 +01:00
Jakob Reiter
8a7656c58f Added default value to es_scripts_fileglob. Could fail if undefined.
Closes #187
2016-11-07 18:37:01 +01:00
Maarten Bezemer
65238c74bd Fix version_compare usage 2016-11-04 16:04:31 +01:00
Maarten Bezemer
d341a4c0ea Version 2.X does need the filter to parse the plugin output 2016-11-04 15:56:27 +01:00
Maarten Bezemer
bfb74b96a4 Fix version check for plugin prefix 2016-11-04 15:55:46 +01:00
Maarten Bezemer
ad3b20872f Store Debian and RedHat installation results in a separate variable 2016-11-03 16:11:57 +01:00
Maarten Bezemer
523270405e Add support for Elasticsearch 5.x
* Use log4j2.properties instead of logging.yml
* Add jvm.options
* Use bootstrap.memory_lock instead of bootstrap.mlockall
* Get rid of work directory
* Executable does not accept `-D` anymore, replace with `-E` and `-p`
* Get rid of 5.x default (file)s
2016-11-03 15:41:42 +01:00
Maarten Bezemer
dd7623fffe Fix issues with systemd service 2016-11-03 14:53:45 +01:00
Maarten Bezemer
a1d9951219 Prevent Ansible errors when shield is not installed/disabled 2016-11-02 15:02:51 +01:00
Maarten Bezemer
2771eb2a92 Add binary prefix for version 5.x 2016-11-02 14:29:11 +01:00
Robin Cawser
75b1c59232 register config change 2016-10-31 08:59:00 +00:00
Jakob Reiter
adbccc215d Fix for the issue introduces with the change in https://github.com/elastic/ansible-elasticsearch/pull/170
Changed debian repo from http to https, but exisiting http repos (from earlier runs) would persist and lead to an duplicate entry warning in apt.
This PR will remove the old http repo, if present.
2016-10-28 17:36:57 +02:00
Koen Punt
8a6928815d Install apt-transport-https for debian 2016-10-27 10:38:33 +02:00
Thierno IB. BARRY
5da67786e2 use include_vars to include license during tests 2016-09-27 16:59:20 +02:00
Thierno IB. BARRY
61a3ba32c5 add xpack license activation tests 2016-09-21 17:04:31 +02:00