Closed tobiashuste closed 3 years ago
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?
💚 CLA has been signed
cla/check
jenkins test this please
Hi @tobiashuste, Thanks for your PR. Can you sign the CLA: https://www.elastic.co/contributor-agreement
@jmlrt Thanks, I just signed the CLA. I hope, it's all fine with it.
jenkins test this please
In check mode Ansible is actually not going to execute the command from the
Install elasticsearch plugins
task.https://github.com/elastic/ansible-elasticsearch/blob/4f01bc74a079c726a5045bed5595273fbe2d2bc0/tasks/elasticsearch-plugins.yml#L66-L80
Thus, the
rc
parameter is not set resulting in a failed execution. My suggestion would be to default the parameter to0
, if it is not set. This allows the role to be run in check mode as well.Alternative solution
Alternatively, it would be possible to add
to the task. But I thought the submitted solution might be cleaner.
Closes #786