Commit graph

1093 commits

Author SHA1 Message Date
Elastic Machine
1357e109c0
7.12.1 release (#795) 2021-04-27 16:25:58 -04:00
Julien Mailleret
953f0e5d73
[meta] update ubuntu-1804 during kitchen provisioning (#793) 2021-04-12 15:57:26 +02:00
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
Elastic Machine
1d3be6dc6c
7.12.0 release (#790) 2021-03-23 10:48:12 -04:00
Julien Mailleret
ba1e82849b
Use ES_JAVA_HOME instead of JAVA_HOME (#789)
This commit set `ES_JAVA_HOME` environment variable instead of
`JAVA_HOME` when `es_java_home` environment variable is used.

See https://github.com/elastic/elasticsearch/issues/68848 for more
context.
2021-03-18 15:32:30 +01:00
Julien Mailleret
3904913be5
Fix deb and rpm url (#788)
*    Fix commit fix the deb package url for Elasticsearch 6.x
*    Fix commit fix the rpm package url for Elasticsearch 6.x and 7.x
*    Download deb package directly using apt module
*    Use new ansible syntax
2021-03-18 15:22:43 +01:00
Julien Mailleret
4f01bc74a0
[meta] fix changelog after 7.11.2 release (#784) 2021-03-10 18:04:12 +01:00
Elastic Machine
001c08b1a8
7.11.2 release (#783) 2021-03-10 11:07:27 -05:00
Bernhard Flühmann
9d3627431b
Cleanup remove keystore entries (#771) 2021-03-03 13:48:25 +01:00
Shiny Hou
5af8fbfe92
Fix README.md Multi Node Server Installations (#782) 2021-03-03 12:14:19 +01:00
Dan Roscigno
f0e4e360a2
Update ssl-tls-setup.md (#777)
When generating the CA the filename is `my-ca.p12`, so I changed the name from `my-truststore.p12` to `my-ca.p12`

Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
2021-02-24 11:53:17 +01:00
Elastic Machine
7bf590a219
7.11.1 release (#780)
Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
2021-02-22 17:52:36 +01:00
Julien Mailleret
30fcd95d51
Fix "list native roles" task (#779)
This commit fix "List Native Roles" task with Elasticsearch 7.11.0+
by removing the unused `body_format` parameter from `uri` module.

This parameter isn't used with a GET method but make request fail with
`request [GET /_security/role] does not support having a body` error
with Elasticsearch 7.11.0+.
2021-02-22 17:02:41 +01:00
Julien Mailleret
e2caeb84b3
Remove OSS support for version >= 7.11.0 (#770)
This commit is removing the option to install Elasticsearch OSS
distribution for version >= 7.11.0.

This is due to Elasticsearch recent license change.
See https://www.elastic.co/blog/licensing-change for more details.

- Add notice to breaking changes and update documentation
- Fail the deployment if trying to install OSS >= 7.11.0
- Remove OSS tests for 7.x except the upgrade test from last OSS version
  to default distribution
2021-02-05 16:23:55 +01:00
Julien Mailleret
d3e394b071
[meta] refactor kitchen tests (#765)
* [meta] refactor kitchen tests

This commit update kitchen tests to match important feature to test:
- default: test a deployment with all default values
- license: test a deployment with a license and default values
- trial: test a deployment with security enabled and trial license
- oss: test a deployment with oss version and default values (6.x only)
- upgrade: test an upgrade from a previous version
- oss-upgrade: test an upgrade with oss version (6.x only)
- oss-to-default-upgrade: test an upgrade from previous oss to latest
default version
- custom_config: test a deployment with custom config files
- security: test a deployment with security enabled

* [meta] fix license test
2021-02-04 11:19:00 +01:00
Bernhard Flühmann
78e805e6cb
Ad support for elasticsearch-keystore entries (#769) 2021-02-03 18:37:52 +01:00
rubar çelik
69c8997a83
Update elasticsearch-Debian.yml (#761)
Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
2021-02-03 15:10:13 +01:00
Julien Mailleret
87946a8305
[meta] fix again jjbb template for jenkins jobs (#763)
This commit fix PR test job for 6.x following #762.
2021-01-27 21:34:28 +01:00
Julien Mailleret
fb6c0c9876
[meta] fix jobs template following #760 (#762)
This commit fix the test job templates following #760.
- add VERSION parameter for 7.x jobs
- move axis to jobs templates
2021-01-27 19:30:00 +01:00
Julien Mailleret
e863695018
[meta] add dedicated ci jobs for 6.x (#760)
This commit create dedicated Jenkins jobs for 6.x for master branch and
PRs. This is required to allow having different test suites for 7.x and
6.x in a following PR.
2021-01-27 17:37:00 +01:00
Nassim Kammah
fec4907c4b
Update 7.10.2 changelog (#755) 2021-01-14 17:17:04 +01:00
Elastic Machine
dcef5b7e91
7.10.2 release (#754) 2021-01-14 16:25:39 +01:00
Julien Mailleret
e1fd7d770d
Fix java install path when system has multiple java (#753)
This commit fix the command to get Java install path when the system has
multiple java installed

Fix #721
2021-01-06 18:22:27 +01:00
Julien Mailleret
470eae90ed
[meta] fix ansible galaxy install command (#751)
This commit fix the Ansible Galaxy install command to use the new
versioning implemented in 7.10.1 release.

ansible-beats tags are now prefixed by v which makes Ansible Galaxy
versions also including this prefix.

Fix #750
2020-12-10 17:37:17 +01:00
Elastic Machine
ffeb286150
7.10.1 release (#749) 2020-12-09 16:16:36 +01:00
Robin Opletal
5b3976cd20
Fix idempotency for both supported CentOS versions (#747)
* Fix idempotency for version lock broken in CentOS8
2020-12-03 08:59:44 -06:00
Victor Martinez
cc4d7fa98c
Support CentOS 8 (#744) 2020-11-17 19:43:41 +01:00
Julien Mailleret
64f92ed170
Fix test-kitchen net-scp-error (#736)
This commit report setting added to ansible-beats repo to fix the
transient Net::SCP::Error reported in ansible-beats and
ansible-elasticsearch during test-kitchen CI tests.
2020-11-17 18:17:40 +01:00
Elastic Machine
36c451d3f1
7.10.0 release (#743) 2020-11-11 10:05:49 -05:00
Julien Mailleret
f01f19a4d3
convert custom filter to python3 (#742)
This commit convert the custom filters to python 3 using 2to3

source: https://docs.python.org/2/library/2to3.html
2020-11-10 06:38:21 +01:00
Julien Mailleret
6901f7141b
[meta] clean deprecated bumper script (#741) 2020-11-05 17:02:53 +01:00
Julien Mailleret
c91892ac92
fix some typos (#740) 2020-11-04 16:14:49 +01:00
Samuel Mutel
674cea7938
Improve the documentation for TLS (#728)
Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
2020-11-04 12:33:44 +01:00
0xflotus
ca39bf107e
fix: small error (#739)
fix some typos
2020-11-04 11:33:15 +01:00
Elastic Machine
389a3ff45f
7.9.3 release (#734)
* 7.9.3 release

Co-authored-by: Nassim Kammah <nassim.kammah@elastic.co>
2020-10-22 15:50:23 +02:00
Samuel Mutel
fdfaa5c888
Add an option to not upload SSL/TLS certs (#727) 2020-10-12 10:02:25 +02:00
vielfarbig
2a3793ce82
Add note to only using es_data_dirs and es_log_dir for customizing th… (#726) 2020-10-05 18:03:51 +02:00
Nassim Kammah
ef36f105b7
7.9.2 release (#723)
Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
2020-09-24 19:08:32 +02:00
Luke Snyder
a933f3c90e
Use run_once for api related tasks (#716)
Co-authored-by: Luke Snyder <lksnyder0@gmail.com>
2020-09-07 15:57:11 +02:00
Julien Mailleret
b6a07ee61c
7.9.1 release (#718)
* 7.9.1 as default version
2020-09-03 10:43:28 -05:00
joshschmitter
37e93217fe
add ansible var for ES_TMPDIR env var (#714)
Elasticsearch requires its temp directory to be mounted as executable (see executable-jna-tmpdir). However, the CIS guidelines (e.g., CIS_Red_Hat_Enterprise_Linux_7_Benchmark_v2.1.1, 1.1.5) recommend mounting /tmp with noexec. Therefore, users of this ansible role may have reason to set elasticsearch's temp dir to a non-default location.

(The elasticsearch environment variable ES_TMPDIR gets set to /tmp by default. This PR preserves this default behavior.)
2020-09-02 09:10:28 +02:00
Wade Rossmann
50bf641b8c
Properly quote password in shell command (#715) 2020-08-26 08:42:43 +02:00
Yuriy
202676b121
7.9.0 release (#712)
* 7.9.0 as default version
* 6.8.12 as 6.x tested version
2020-08-18 10:32:49 -05:00
Julien Mailleret
37fc61bc2e
7.8.1 release (#708) 2020-07-28 16:32:23 +02:00
Julien Mailleret
76d9f64c95
[meta] add auth-token-credential-id entry for slack (#707)
This commit adds a new auth-token-credential-id entry in addition of auth-token-id for slack token.

This is due to a bug in JJB which requires having both entries to prevent having an empty authTokenCredentialId in job config.xml (https://storyboard.openstack.org/#!/story/2007953).
2020-07-27 15:28:34 +02:00
Julien Mailleret
51f7ddf920
[meta] add slack notifications to CI jobs (#706)
This PR add Slack notifications to Elastic Release team Slack channel
for [elastic+ansible-elasticsearch+master]((https://devops-ci.elastic.co/job/elastic+ansible-elasticsearch+master/)
test job.
2020-07-22 15:26:34 +02:00
Andris Strazdiņš
f339345a0b
Update elasticsearch-security-file.yml (#705)
Without become option stat operation for old users file will work only if user is in elasticsearch group, but copying of old file will fail because user have no write access in elasticsearch config dir.
2020-07-16 16:42:41 +02:00
SuRaMoN
d99c0c86c5
Fixed running ansible in check mode (#701)
Co-authored-by: Julien Mailleret <8582351+jmlrt@users.noreply.github.com>
2020-06-29 13:46:51 +02:00
anisf
9539712bd7
add AMZN Linux 2 support (#703) 2020-06-26 09:42:23 +02:00
Julien Mailleret
adbec9db3f
7.8.0 Release (#700) 2020-06-18 17:05:19 +02:00