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
konasp
0c0a48d4ae
Fixing boolean expression syntax when installing templates/license -> repositioned not
2017-03-03 12:41:32 +01:00
konasp
0046008bf5
Fixing boolean expression syntax when installing templates/license -> adding missing quotes
2017-03-03 12:14:26 +01:00
konasp
4f8538a6b7
Fixing boolean expression syntax when installing templates/license
2017-03-03 11:45:53 +01:00
Dale McDiarmid
914cb7867c
Move restart to main from handler
2017-01-17 14:42:21 +00:00
Dale McDiarmid
7b32a17d59
remove sleep
2017-01-17 12:54:43 +00:00
Dale McDiarmid
baf3a7c9f5
Sleep on init + cleanup
2017-01-17 12:54:29 +00:00
Dale McDiarmid
b6b9d19082
wait for startup added
2017-01-17 12:00:49 +00:00
Dale McDiarmid
7b9d4db6da
Dont log on native user install
2017-01-16 15:38:54 +00:00
Dale McDiarmid
8d84b57941
Xpack tests + protection against reserved roles and users
2017-01-16 15:17:18 +00:00
Dale McDiarmid
75d750a43e
Protect reserved elastic user + doc clarification on configuring native realm
2017-01-16 12:32:03 +00:00
Dale McDiarmid
197cf05a0e
Shield to Security and other X-Pack clear up
2017-01-11 13:02:23 +00:00
Dale McDiarmid
367c704b6e
No log on license install
2017-01-05 12:24:51 +00:00
Dale McDiarmid
fc400862b1
Fix for license update
2017-01-04 16:39:00 +00:00
Dale McDiarmid
3ed945d2aa
disable logging on license install
2017-01-04 13:28:38 +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
be0877f564
Merged main.yml
2017-01-03 16:13:13 +00:00
Dale McDiarmid
9fc4ddfac4
Send contents correctly
2017-01-03 16:05:11 +00:00
Dale McDiarmid
7794ab7f50
Use api_host, api_port consistently + doc updates. Removal of 1.x testing, centos6 and debian 7
2017-01-03 15:53:10 +00:00
Dale McDiarmid
de7c5e60af
Merge branch 'issue208' of https://github.com/pixelrebel/ansible-elasticsearch into pixelrebel-issue208
2017-01-03 15:12:00 +00:00
Dale McDiarmid
fd8e554eec
merge changes for separate redhat/debian vars for main.yml
2017-01-03 11:03:15 +00:00
pixelrebel
deaf5ea0fa
Fix mistake in URI body
2016-12-06 18:15:08 -08:00
pixelrebel
68ad76bfe4
Parse/sanitize network.host and network.port, fallback to es_api_host/es_api_port
2016-12-06 12:15:34 -08:00
pixelrebel
226d163e52
Only use es_api_host in API calls since es_config['network.host'] is not a reliable source
2016-12-05 17:22:03 -08: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
c40f9dd298
Added a 15 sec pause before the Native User List command.
...
Command was run when the realm was not initialized yet, causing the playbook to fail.
2016-11-07 18:35:28 +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
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
Jakob Reiter
d92f468d65
Removed additional newline
2016-10-28 18:46:50 +02:00
Jakob Reiter
5212c6eb4c
Use network.host and http.port if available.
...
Was causing issues if not bound to localhost and using none default port, as es_api_host/port default to localhost/9200
2016-10-28 18:42:44 +02:00
Thierno IB. BARRY
da57e2dd65
no log password when adding or updating user
2016-09-19 17:41:24 +02:00
Dale McDiarmid
fbfbb66d56
Template management with files - no nasty shell commands
2016-08-30 10:38:54 +01:00
Dale McDiarmid
e3c71a7fd6
Using python-httplib2 + retries for yum delays
2016-08-29 16:34:14 +01:00
Dale McDiarmid
605baf9a96
More tests
2016-07-24 19:18:04 +01: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
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