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
This commit is contained in:
Jonathan Rosser 2018-12-03 17:09:06 +00:00
parent 5b9cf44498
commit fad52e7198
1 changed files with 1 additions and 1 deletions

View File

@ -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: