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
This commit is contained in:
Jonathan Rosser 2018-12-03 17:36:22 +00:00
parent a77bcb617f
commit b306eb1d62

View File

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