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>
* 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
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>
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+.
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
* [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
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.
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
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.