Tobias Huste
25ae51e393
Stop plugin install to fail in check mode ( #787 )
...
In check mode Ansible is actually not going to execute the command.
Therefore, the return code is not defined making the role fail when
execute in Ansible check mode.
Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
2021-04-12 14:25:04 +02:00
Julien Mailleret
f1b79129f1
add proxy options to ES_JAVA_OPTS when defined with es_proxy_host
2019-12-18 11:57:02 +01:00
Julien Mailleret
6a1b886753
use default permissions from official package for plugin directory
2019-09-18 10:53:43 +02:00
Julien Mailleret
d5e414b9aa
clean code related to xpack plugin install
...
We don't need this anymore as X-Pack is now already included in elasticsearch since 6.3.
2019-09-16 10:43:32 +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
Lazare Olivry
d338849b4f
add idempotence in check mode for plugins
2018-10-10 18:14:21 +02:00
Michael Russell
7857f24f83
Remove the x-pack plugin directory since it isn't a plugin anymore
2018-08-28 07:58:50 +02:00
Michael Russell
943797d564
Don't ignore errors when uninstalling plugins
2018-06-13 11:10:25 +02:00
Michael Russell
6d82cf3142
WIP: 6.3 support
2018-06-13 08:29:45 +02:00
Cloud Fox
dd9b4aad97
naming unnamed tasks
2018-02-04 07:09:23 +00:00
Shri Bodas
9115bb4dff
Adding 6.x support with Bootstrap user addition
2018-01-30 11:23:34 +01:00
Brad Pitcher
891d87c019
Merge branch 'master' into become-yes
2017-09-19 14:22:02 -06:00
Dale McDiarmid
b93493733d
Fix for proxy settings into env var
2017-08-15 14:48:12 +01:00
Dale McDiarmid
911b2df9ac
Test for plugin on standard
2017-08-15 14:31:56 +01:00
Brad Pitcher
024e6caa4b
use become: yes when root is needed
2017-05-12 13:31:50 -07:00
Maarten Bezemer
f5e1a94869
Fix handling of plugins when es_plugins_reinstall is false
...
* Get (and use) list of plugins that need to be installed
* Just remove all plugins of the remove list
2017-03-20 14:30:43 +01:00
Dale McDiarmid
af30f882dd
Fixes for multi + config tests
2017-03-16 23:59:13 +00:00
Dale McDiarmid
1bc817a378
Support for plugin diffs + improved testing on minor upgrades + fixes
2017-03-16 21:06:17 +00:00
Dale McDiarmid
0656a19501
Reporting should not be declared as x-pack feature
2017-01-16 12:19:22 +00:00
Dale McDiarmid
7efec96ea9
Plugin fixes for 5.x
2017-01-13 15:28:53 +00:00
Dale McDiarmid
cde17346d5
Version 5.0 - no need for plugin prefix
2017-01-11 10:26:57 +00:00
Dale McDiarmid
2062e85d14
Merge conflicts
2017-01-06 10:59:16 +00:00
Dale McDiarmid
cc60a4ecbb
Fix to use redhat_elasticsearch_install_from_repo
2017-01-03 18:10:45 +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
49dfa81684
Make prefix available when es_plugins is not defined
2016-12-07 22:54:33 +01:00
Дехтярёв Евгений Артурович
61bb156dbe
Add retries for install plugins task
2016-11-25 17:21:13 +07: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
2771eb2a92
Add binary prefix for version 5.x
2016-11-02 14:29:11 +01:00
Dale McDiarmid
6470b01512
Wrong syntax
2016-09-19 13:18:34 +01:00
Dale McDiarmid
cfe6d1828a
Fix for 147
2016-09-19 13:01:14 +01:00
Dale McDiarmid
71e3e076f0
138 merges
2016-08-30 13:21:57 +01:00
Dale McDiarmid
db78b79013
Merge changes
2016-08-30 13:12:53 +01:00
Dale McDiarmid
907198d652
Remove errorenous reference to es_plugin_dir
2016-08-30 12:55:45 +01:00
Dale McDiarmid
7a2f0b43d2
Merged changes from 138
2016-08-30 12:30:54 +01:00
Johan De Meersman
0d095aeea3
Dodge deprecation warnings in plugin and template install by working as per http://docs.ansible.com/ansible/playbooks_conditionals.html#loops-and-conditionals
2016-08-17 16:16:22 +02:00
Dale McDiarmid
5353524137
Remove debug statements
2016-07-24 17:48:42 +01:00
Dale McDiarmid
9eacd3a5e0
Fix for detecting es version changed
2016-07-24 17:39:44 +01:00
Dale McDiarmid
0a269a3d82
Fix for plugin version check
2016-07-24 16:17:39 +01:00
Dale McDiarmid
57fa9e432b
Support for all xpack features through generic install + improved tests
2016-07-24 15:25:32 +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
97db0bde87
Merge branch 'fix_bug_in_plugins'
...
Conflicts in plugins resolved
2016-07-20 13:16:35 +01:00
Dale McDiarmid
f2af89972e
Add defined check and merged 109
2016-07-20 13:15:51 +01:00
Dale McDiarmid
38b9f70586
No changes
2016-07-20 13:05:18 +01:00
Дехтярёв Евгений Артурович
01401f9d55
fix for ES plugins install
2016-05-25 19:24:58 +06:00
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
gingerwizard
205840a5e4
Merge pull request #88 from qk4l/master
...
Removed bare variables
2016-04-03 18:37:00 +01:00
Artem Alexandrov
717dd74a9f
Removed bare variables
...
Issue #86
2016-03-25 11:20:23 +03:00