diff --git a/handlers/security/elasticsearch-xpack-activation.yml b/handlers/security/elasticsearch-xpack-activation.yml index bafa46c..4b1fd3f 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: 'not "security" in es_xpack_features' failed_when: > license_activated.status != 200 or license_activated.json.license_status is not defined or