Refactor deprecated filter calls
Previously, each of the calls generated a warning : "Using tests as filters is deprecated. Instead of using `result|version_compare` use `result is version_compare`. This feature will be removed in version 2.9.".
This commit is contained in:
parent
f89f56bc34
commit
a10676384f
9 changed files with 18 additions and 18 deletions
|
|
@ -20,4 +20,4 @@
|
|||
- name: Set elasticsearch.keystore Permissions
|
||||
become: yes
|
||||
file: state=file path={{ conf_dir }}/elasticsearch.keystore owner={{ es_user }} group={{ es_group }}
|
||||
when: es_enable_xpack and "security" in es_xpack_features and (es_version | version_compare('6.0.0', '>'))
|
||||
when: es_enable_xpack and "security" in es_xpack_features and (es_version is version_compare('6.0.0', '>'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue