From 80db4e4beb6f4f2a723297a17eee97003e63ccf8 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Mon, 3 Dec 2018 17:31:24 +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: Ic2e76ece08665601476076d2f99de4c4fa2d65c4 --- tasks/cinder_install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/cinder_install.yml b/tasks/cinder_install.yml index 9145387c..f2c875f6 100644 --- a/tasks/cinder_install.yml +++ b/tasks/cinder_install.yml @@ -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'])