You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.
Hi,
I'm testing new SSL ansible support.
Upload of Certification Authority doesn't work using Ansible 2.5.1 (or newer).
Relevant code is in elasticsearch-ss.yml file:
bool filter return false in Ansible 2.5.x, since es_ssl_certificate_authority is a generic string.
def to_bool(a):
''' return a bool for the arg '''
if a is None or isinstance(a, bool):
return a
if isinstance(a, string_types):
a = a.lower()
if a in ('yes', 'on', '1', 'true', 1):
return True
return False
Possible solution:
Change last line to when: (es_ssl_certificate_authority is defined) and (es_ssl_certificate_authority|length > 0)
Regards,
Dario
The text was updated successfully, but these errors were encountered:
Hi,
I'm testing new SSL ansible support.
Upload of Certification Authority doesn't work using Ansible 2.5.1 (or newer).
Relevant code is in
elasticsearch-ss.yml
file:bool filter return false in Ansible 2.5.x, since es_ssl_certificate_authority is a generic string.
Possible solution:
Change last line to
when: (es_ssl_certificate_authority is defined) and (es_ssl_certificate_authority|length > 0)
Regards,
Dario
The text was updated successfully, but these errors were encountered: