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
|
|
@ -18,7 +18,7 @@
|
|||
- name: Detect if es_version is before X-Pack was open and included
|
||||
set_fact:
|
||||
es_open_xpack: false
|
||||
when: "es_version | version_compare('6.3.0', '<')"
|
||||
when: "es_version is version_compare('6.3.0', '<')"
|
||||
|
||||
- name: If this is an older version we need to install X-Pack as a plugin and use a differet users command
|
||||
set_fact:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue