Commit graph

32 commits

Author SHA1 Message Date
Julien Mailleret
6fdc3cd842
use systemd ansible module for daemon-reload 2019-10-04 08:08:09 +02:00
Julien Mailleret
2cb020a4c2
Remove multi instances support (#566)
* remove multi instances support
The goal is to stop supporting installation of more than one node in the same host. This commit update the Ansible role README documentation and remove the multi instances kitchen test.

* remove systemd and init.d templates
As we no more need to support more than one node on the same host, we no more need to override init files provided by elasticsearch official packages.

* remove file script feature
File scripts have been removed since elasticsearch 6.0 (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_scripting_changes.html#_file_scripts_removed)

* remove custom user and custom group
ES_USER and ES_GROUP settings are no longer supported (https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking_60_packaging_changes.html#_configuring_custom_user_and_group_for_package_is_no_longer_allowed)

* add upgrade procedure

* use same task for license activation with and without authentication
2019-06-03 14:18:09 +02:00
Brad Pitcher
891d87c019
Merge branch 'master' into become-yes 2017-09-19 14:22:02 -06:00
Dale McDiarmid
5e1873ca68 Simpler restart handling + issue-test for recreation of problems 2017-08-20 10:30:39 -04: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
David Reed
4826f981d7 Fixes handler and file issues with ES templates
Fixes an issue with handlers in Ansible 2.2.1+
[https://github.com/ansible/ansible/issues/20603](). Moves the
load-templates handler to the top of the file to get around this
issue.

Fixes an issue loading installed templates into ES. The use of
file lookup meant that the template files are checked on the
machine that initiated the Ansible play, this only works if Ansible
has been run locally, breaking for remote machines. Switched to
using the slurp module to grab file contents on the target machine.
2017-05-17 13:18:44 +01:00
Brad Pitcher
024e6caa4b
use become: yes when root is needed 2017-05-12 13:31:50 -07:00
John Reed
692637f073 Check for restarts only when restart handler executes 2017-03-21 10:13:10 -04:00
Dale McDiarmid
595368f873 Re-structure to make xpack idempotent 2017-03-15 16:12:22 -04:00
Dale McDiarmid
914cb7867c Move restart to main from handler 2017-01-17 14:42:21 +00:00
Dale McDiarmid
b6b9d19082 wait for startup added 2017-01-17 12:00:49 +00:00
Dale McDiarmid
197cf05a0e Shield to Security and other X-Pack clear up 2017-01-11 13:02:23 +00:00
Dale McDiarmid
fc400862b1 Fix for license update 2017-01-04 16:39:00 +00:00
Dale McDiarmid
2ea0842a6c Changes to support license 2017-01-04 13:23:22 +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
Maarten Bezemer
ad3b20872f Store Debian and RedHat installation results in a separate variable 2016-11-03 16:11:57 +01:00
Maarten Bezemer
dd7623fffe Fix issues with systemd service 2016-11-03 14:53:45 +01:00
Robin Cawser
5f514a122a Restarts ES service when config has been changed 2016-10-31 08:59:26 +00:00
Dale McDiarmid
31cc54ddbc Templates now invoked as handler to cover edge cases 2016-07-24 01:10:07 +01:00
Dale McDiarmid
4f6d5b0a4a Shield now causes restart 2016-07-23 22:18:31 +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
38b9f70586 No changes 2016-07-20 13:05:18 +01:00
Dale McDiarmid
53f5d61fe5 Gem lock + standard images 2016-04-15 17:04:31 +01:00
Dale McDiarmid
ba8fed0063 Adds support for optional restart on change 2016-01-18 14:38:22 +00: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
731d4b20fe Fix if plugins are not defined 2016-01-15 22:13:51 +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
37447d1618 Templates everything + Systemd improvements+fixes + Notifications for restart + Idempotent checks for multiple runs 2015-11-27 18:12:59 +00:00