Commit graph

319 commits

Author SHA1 Message Date
Michael Russell
c2e51f8ecf
Fix jinja syntax variable fun
How it was previously "worked" but just ignored trying to remove the
package. Luckily it was caught by the test-kitchen testing!
2018-12-27 17:35:44 +01:00
Michael Russell
3e265a467d
Allow switching between oss and standard packages
Before only going from the standard package to oss was supported. Now
this works properly in both directions.
2018-12-27 16:42:14 +01:00
Michael Russell
ec3465a60c
Only attempt to copy the old users file if it actually exists 2018-11-27 12:50:49 +01:00
Michael Russell
f221381929
Copy the old deprecated users file when upgrading
In 6.5 Elasticsearch finds the old file which breaks the way the ansible
playbook is detecting the installed users. This means that after an
upgrade to 6.5 the users still actually exist but the playbook fails
when trying to add them again as they already exist.
2018-11-26 13:56:51 +01:00
Victor Gonzalez
2e84fd0baa Using tests as filters is deprecated
Instead of using
`result|version_compare` use `result is version_compare`.
2018-10-26 14:02:36 +02:00
Lazare Olivry
d338849b4f add idempotence in check mode for plugins 2018-10-10 18:14:21 +02:00
Michael Russell
19717553e5
Only use the first found java version if there are multiple installed 2018-09-05 09:05:09 +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
kimoto
91f179d98e es_allow_downgrades parameter is ignoring yum 2018-08-10 14:14:20 +09:00
Michael Russell
c2a68d06c8
Add version lock to the correct package name 2018-07-26 15:45:40 +02:00
David Leatherman
580bf9348b handle the nested response
the response from the search endpoint is now wrapped in a map with the
packages key
2018-07-09 11:02:58 -04:00
Michael Russell
3317b6af40
Merge branch 'master' into missing_becomes 2018-06-28 12:07:53 +02:00
Arnaud Venturi
f03fb893fb Simpler systemd unit file fix, just adding a test to avoid crash on stat 2018-06-27 10:11:07 +02:00
Bill Schwanitz
cc6b4e78e2 add missing become: yes 2018-06-26 15:28:01 -04:00
Arnaud Venturi
a41d3a58c6 More compact fix of systemd unit file setup 2018-06-26 16:37:24 +02:00
Arnaud Venturi
c70fa8f848 Fix systemd unit file installation in case the file does not exist 2018-06-26 14:49:22 +02:00
Michael Russell
6d6fc3a7cb
Gracefully remove default elasticsearch package when upgrading to the
oss version
2018-06-18 12:01:45 +02:00
Michael Russell
d451d27723
Only symlink systemd file for systemd systems 2018-06-18 07:37:51 +02:00
Michael Russell
2c8ce3bb2d
Add test for upgrading from previous version of oss to current 2018-06-15 17:22:18 +02:00
Michael Russell
dce98bbd34
Revert no_log debugging 2018-06-14 16:37:31 +02:00
Michael Russell
77d47e3235
Don't use the 'x-pack' subdir now that x-pack is part of core 2018-06-14 16:33:40 +02:00
Michael Russell
bbc5e0603d
Abstract 6.3 changes into a separate task to reduce all of the jinja one
liner complexity

Set ES_PATH_CONF when installing so upgrading from 6.2 to 6.3 works as
expected
2018-06-14 14:44:31 +02:00
Michael Russell
715bd8591e
Use final 6.3.0 release instead of snapshot 2018-06-13 21:34:32 +02:00
Michael Russell
e5809a3169
Create the keystore if it doesn't already exist 2018-06-13 17:33:23 +02:00
Michael Russell
943797d564
Don't ignore errors when uninstalling plugins 2018-06-13 11:10:25 +02:00
Michael Russell
c1b83a892f
WIP: Add testing Makefile and matrix definitions 2018-06-13 09:34:28 +02:00
Michael Russell
6d82cf3142
WIP: 6.3 support 2018-06-13 08:29:45 +02:00
Michael Russell
a9f8403ffa
Add playbook and environment variable to build using snapshots 2018-06-13 08:24:42 +02:00
DJ Gill
31ee9afad8
Merge branch 'master' into master 2018-05-22 11:15:15 -07:00
Michael Russell
ffa98d276f
Merge branch 'master' into master 2018-05-14 17:03:24 +02:00
Jeffrey Everling
796731721c Removing ssl configuration 2018-05-05 08:00:38 +02:00
Jeffrey Everling
ba080bc3c8 Revert "SSL support optimisation"
This reverts commit 80baf268e5.
2018-05-05 07:56:16 +02:00
Jeffrey Everling
80baf268e5 SSL support optimisation 2018-05-05 07:42:08 +02:00
Jeffrey Everling
cc28b6149a Added more x-pack config options 2018-05-03 16:45:04 +02:00
Gabriel Preda
d0ed1da107
* changed condition as suggested by @Crazybus 2018-05-02 11:49:25 +03:00
Gabriel PREDA
d42c12fb44
Merge branch 'master' into fix-redhat-install-elasticsearch-until-condition 2018-05-02 11:32:14 +03:00
Chainarong Tangsurakit
b7b0793b37
require admin role to use update-alternatives
promote `update-alternatives` command to run as admin role
2018-04-26 14:45:12 +07:00
Jeffrey Everling
34f08130e1 Added changes to add required functionality and fix a bug 2018-04-24 12:51:03 +02:00
nicladas
f255051ef7
Update elasticsearch-xpack.yml
Original fact setting fails on update plays for Debian with : redhat_elasticsearch_install_from_repo is undefined.

Updated the conditional to allow multiple plays.
2018-03-09 10:43:50 -05:00
Michael Russell
ebd8726804
Merge branch 'master' into naming-unnamed-tasks 2018-02-22 12:45:45 +01:00
Michael Russell
fe0fc4b430
Bump default version to 6.2.2 and 5.6.8 2018-02-21 21:09:15 +01:00
Michael Russell
a525e0bcde
Merge branch 'master' into naming-unnamed-tasks 2018-02-21 16:33:49 +01:00
Michael Russell
9647e12819
Merge branch 'master' into fix-redhat-install-elasticsearch-until-condition 2018-02-21 16:22:58 +01:00
pemontto
27d81e68dd Fix conditionals introduced in #408 2018-02-16 16:37:00 -05:00
Gabriel Preda
b3b5edef70
Fix RedHat install - until condition was not correct 2018-02-13 11:50:43 +02:00
Cloud Fox
dd9b4aad97 naming unnamed tasks 2018-02-04 07:09:23 +00:00
Michael Russell
6ddc7ce13d
Fix idempotency test when listing the current users 2018-01-31 13:03:51 +01:00
Michael Russell
7f9ae5f2e5
Fix idempotency for redhat family when getting the java path 2018-01-31 11:08:09 +01:00
Shri Bodas
92244a7a71
Additional change to redhat check 2018-01-30 11:23:35 +01:00
Shri Bodas
cd2962ce8a
fix for Missed Redhat check for installing java 2018-01-30 11:23:35 +01:00