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: Ic2e76ece08665601476076d2f99de4c4fa2d65c4
This commit is contained in:
Jonathan Rosser 2018-12-03 17:31:24 +00:00
parent 6bb1821b1d
commit 80db4e4beb
1 changed files with 1 additions and 1 deletions

View File

@ -78,6 +78,6 @@
- "need_online_data_migrations"
- "need_service_restart"
when:
(install_packages | changed) or
(install_packages is changed) or
('need_online_data_migrations' not in ansible_local['openstack_ansible']['cinder']) or
('need_service_restart' not in ansible_local['openstack_ansible']['cinder'])