Closed redgryphon closed 2 years ago
Hi @redgryphon, Thanks for opening this issue. Unfortunately we currently don't have time to investigate every tickets so please be patient.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity since being marked as stale.
still valid
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
still valid
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity since being marked as stale.
Elasticsearch version 7.10.1
Role version: 7.10.1
JVM version (
java -version
):openjdk version "15.0.1" 2020-10-20
OS version (
uname -a
if on a Unix-like system): CentOS 8Linux elk.example.com 4.18.0-240.1.1.el8_3.x86_64 #1 SMP Thu Nov 19 17:20:08 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behaviour: When specifying certificates for enabling HTTPS on Elasticsearch but not specifying any credentials the play should fail right away. It instead continues. The expected behaviour is as exposed in the comment of the check (
Check if working with security we have an es_api_basic_auth_username and es_api_basic_auth_username - otherwise any http calls wont work
) and should result in the following log:The certificates specified in the playbook exists on the ansible machine and are correctly uploaded on the system (because the play does not fail before).
Playbook: Please specify the full playbook used to reproduce this issue.
Provide logs from Ansible: extracted just the relevant part from the ansible play
ES Logs if relevant: none
I experienced that changing the when clause of the check from
to
would make the check as I intended it should work but maybe there is something more I'm missing.