Commit graph

888 commits

Author SHA1 Message Date
Branen Salmon
2aa0b38449
Template out the base of repo URLs
Some popular artifact caches (e.g. Artifactory) do not provide HTTP
CONNECT endpoints and thus aren't supported by es_proxy_host and
es_proxy_port.  This patch templates out the scheme and authority
components (i.e. "https://artifacts.elastic.co" ) of the apt and
yum repo URLs to accommodate the use of such artifact caches.
2019-01-16 16:28:07 -05:00
Michael Russell
9823a3fc54
Merge pull request #527 from katsukamaru/java-version-check-in-check-mode
Execute java version check in check mode
2019-01-15 12:44:32 +01:00
Michael Russell
dab87992ec
Merge pull request #526 from Fra-nk/upstream
Allow not installing Elasticsearch deb repository key
2019-01-15 09:41:58 +01:00
shin.katsumaru
5d0dcbe147 Execute java version check in check mode 2019-01-15 17:19:02 +09:00
Frank Fischer
596f313b17 Allow not installing Elasticsearch deb repository key
If a variable is set in Ansible, there is no way to unset
it ever again, i.e. 'null' or '~' do not work.
Since this value is set in defaults we have to check
for content instead of defined.
2019-01-14 13:10:07 +01:00
Michael Russell
b37723aa1f
Merge pull request #513 from kakoni/master
Update elasticsearch-parameters.yml
2019-01-08 20:34:11 +01:00
Michael Russell
a7b07e458b
Merge pull request #521 from elastic/swapsies
Allow switching between oss and standard packages
2019-01-08 19:54:20 +01:00
Michel Weitbrecht
3df71f8a0c
Merge branch 'master' into filter-deprecation-fix 2019-01-03 19:08:38 +01:00
Michael Russell
4623f5626b
Merge pull request #522 from SlothOfAnarchy/patch-1
Fix package download URL
2019-01-03 17:07:23 +01:00
Michael Russell
f7d402369c
Properly cleanup the other apt repository when switching packages 2019-01-02 10:39:48 +01:00
Michael Russell
5126dbc5e8
Actually remove the unused RedHat repository 2019-01-02 10:06:47 +01:00
Michael Russell
486717bc6f
Remove the other Elasticsearch repo when switching versions 2018-12-31 17:28:37 +01:00
Michel Weitbrecht
a10676384f Refactor deprecated filter calls
Previously, each of the calls generated a warning : "Using tests as
filters is deprecated. Instead of using `result|version_compare` use
`result is version_compare`. This feature will be removed in version
2.9.".
2018-12-28 15:36:33 +01:00
Michel Weitbrecht
124775740a Fix package download URL and set ES_PATH_CONF
The old URL yields a 404. ES_PATH_CONF is also needed when installing
elasticsearch using the downloaded package.
2018-12-28 15:31:11 +01:00
Karri Niemelä
69c49fc0cd Update elasticsearch-parameters.yml
Fixing data_dirs name typo
2018-12-28 15:17:37 +02:00
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
f89f56bc34
Update changelog for 6.5.1.1 release 2018-11-27 16:16:53 +01:00
Michael Russell
855afc49c0
Merge pull request #516 from elastic/stat_cat
Only attempt to copy the old users file if it actually exists
2018-11-27 16:14:54 +01:00
Michael Russell
3724e3eb16
Merge branch 'master' into stat_cat 2018-11-27 12:53:04 +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
7675443b5c
Merge pull request #515 from elastic/vanilla_baby
Switch to vanilla docker images and add Ubuntu 18.04 and Debian 9
2018-11-27 07:45:59 +01:00
Michael Russell
641ed39579
Merge branch 'master' into vanilla_baby 2018-11-27 07:14:43 +01:00
Michael Russell
0333e1c296
Merge pull request #514 from elastic/bundle_me_up
Bump version to 6.5.1 and document installing test dependencies #508
2018-11-27 07:13:23 +01:00
Michael Russell
2d8192ac09
Install the necessary packages for Ubuntu 14.04 and 18.04 2018-11-26 16:46:07 +01:00
Michael Russell
afc2fe74ae
Switch to vanilla docker images and add Ubuntu 18.04 and Debian 9 2018-11-26 15:26:57 +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
Michael Russell
9fff18758e
Bump version to 6.5.1 and document installing test dependencies #508 2018-11-26 11:25:10 +01:00
Michael Russell
c5fdd40173
Merge pull request #504 from victorgs/deprecation_warning
Using tests as filters is deprecated
2018-11-14 17:50:58 +08: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
Michael Russell
437a92a7ff
Merge pull request #487 from lazouz/idempotent-check-mode
add idempotence in check mode for plugins
2018-10-11 17:29:03 +01:00
Lazare Olivry
d338849b4f add idempotence in check mode for plugins 2018-10-10 18:14:21 +02:00
DJ Gill
47c7afa4cd
Merge pull request #501 from kaxil/patch-1
Make the order of configs consistent for comparing
2018-09-27 14:51:10 -07:00
Kaxil Naik
571dde5ac2
Make the order of configs consistent for comparing
When comparing `es_config` for master and data nodes, the order was different. This PR makes it consistent, hence it is easy to compare.
2018-09-26 17:11:22 +01:00
DJ Gill
a1571674d4
Merge pull request #497 from elastic/whats_up_doc
Document es_use_repositoruy and es_custom_package_url
2018-09-24 11:46:29 -07:00
Michael Russell
527ba791de
Document es_use_repositoruy and es_custom_package_url 2018-09-18 09:44:02 +02:00
Michael Russell
fb760f4b90
Merge pull request #493 from elastic/there_can_be_only_one
Only use the first found java version if there are multiple installed
2018-09-06 13:47:11 +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
a95a48f02d
Merge pull request #490 from elastic/five_is_the_new_six
Fix the tested path.conf for 5.x
2018-08-28 14:12:08 +02:00
Michael Russell
e147478542
Fix the tested path.conf for 5.x
This was previously passing because our CI configuration was actually
testing 6.x instead of 5.x. Luckily this is the only problem which
hadn't been caught since this was introduced.
2018-08-28 12:24:10 +02:00
Michael Russell
c219e6a907
Merge pull request #488 from elastic/6.4
Upgrade default Elasticsearch version to 6.4.0
2018-08-28 11:16:52 +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
324ec67bd5
Bump 5.x testing version to 5.6.11 2018-08-28 07:58:36 +02:00
Michael Russell
3569a3b018
Upgrade default Elasticsearch version to 6.4.0 2018-08-24 16:03:32 +02:00
Michael Russell
56ebb5a599
Merge pull request #484 from kimoto/yum_allow_downgrade
es_allow_downgrades parameter is ignoring yum
2018-08-15 11:01:10 +02:00
kimoto
91f179d98e es_allow_downgrades parameter is ignoring yum 2018-08-10 14:14:20 +09:00
DJ Gill
3e1236464e
Merge pull request #476 from elastic/lock_me_up
Add version lock to the correct package name
2018-07-27 09:44:02 -07:00
Michael Russell
c2a68d06c8
Add version lock to the correct package name 2018-07-26 15:45:40 +02:00
Michael Russell
4ec1f3b650
Merge pull request #472 from ugosan/master
Fix readme.md
2018-07-23 10:05:21 +02:00
Ugo Sangiorgi
15de8aa844 fix readme.md 2018-07-13 16:00:40 -05:00