Fixing boolean expression syntax when installing templates/license

This commit is contained in:
konasp 2017-03-03 11:45:53 +01:00
parent 32c7a13b69
commit 4f8538a6b7
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@
return_content: yes
register: license_activated
no_log: True
when: not '"security" 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