diff --git a/handlers/security/elasticsearch-xpack-activation.yml b/handlers/security/elasticsearch-xpack-activation.yml index 30ffa88..bafa46c 100644 --- a/handlers/security/elasticsearch-xpack-activation.yml +++ b/handlers/security/elasticsearch-xpack-activation.yml @@ -9,7 +9,7 @@ return_content: yes register: license_activated no_log: True - when: "security" not in es_xpack_features + when: '"security" not in es_xpack_features' failed_when: > license_activated.status != 200 or license_activated.json.license_status is not defined or @@ -27,7 +27,7 @@ return_content: yes register: license_activated no_log: True - when: "security" in es_xpack_features + when: '"security" in es_xpack_features' failed_when: > license_activated.status != 200 or license_activated.json.license_status is not defined or