Use variable kibana_opendistro_security

This commit is contained in:
Manuel Gutierrez 2020-06-10 19:01:09 +02:00
parent 79d58c3917
commit 1062cddf06
No known key found for this signature in database
GPG Key ID: CEB8789DAED15AAD

View File

@ -89,7 +89,7 @@
- name: Select correct API protocol - name: Select correct API protocol
set_fact: set_fact:
elastic_api_protocol: "{% if kibana_xpack_security %}https{% else %}http{% endif %}" elastic_api_protocol: "{% if kibana_opendistro_security is defined and kibana_opendistro_security %}https{% else %}http{% endif %}"
- name: Attempting to delete legacy Wazuh index if exists - name: Attempting to delete legacy Wazuh index if exists
uri: uri: