From fad52e7198fd4908d5a53e35ee599dd3d6ad4887 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Mon, 3 Dec 2018 17:09:06 +0000 Subject: [PATCH] Fix ansible deprecation warnings === [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|search` use `result is search`. This feature will be removed in version 2.9. === Change-Id: I208fef03922b7f32a545ad595c6aff332e87c8ab --- tasks/configure_metal_hosts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure_metal_hosts.yml b/tasks/configure_metal_hosts.yml index d54c615e..36ea35e6 100644 --- a/tasks/configure_metal_hosts.yml +++ b/tasks/configure_metal_hosts.yml @@ -20,7 +20,7 @@ [ {{ ansible_kernel }} < {{ openstack_host_required_kernel }} ] Resolve this issue before continuing. when: - - ansible_kernel | version_compare(openstack_host_required_kernel, '<') + - ansible_kernel is version_compare(openstack_host_required_kernel, '<') - name: Install distro packages for bare metal nodes package: