From b306eb1d620addb4da71f97eb38822281a99b5a1 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Mon, 3 Dec 2018 17:36:22 +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: I90bbbc14ead40982e36411e7e49d8aa3288aad5b --- tasks/neutron_install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/neutron_install.yml b/tasks/neutron_install.yml index a0b36add..e25018a3 100644 --- a/tasks/neutron_install.yml +++ b/tasks/neutron_install.yml @@ -61,7 +61,7 @@ state: "True" - name: "need_db_contract" state: "True" - when: (install_packages | changed) or + when: (install_packages is changed) or (ansible_local is not defined) or ('openstack_ansible' not in ansible_local) or ('neutron' not in ansible_local['openstack_ansible']) or