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: I8e856ecaeb82446785dbdcd23688bb0db0a30857
This commit is contained in:
Jonathan Rosser 2018-12-03 17:22:58 +00:00
parent ed0f0fa38f
commit b564d1775d
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@
{% endif -%}
{% endfor -%}
{{ _var }}
when: not credential_key_list | skipped
when: not credential_key_list is skipped
- name: Collect the existing keys from containers
slurp:

View File

@ -136,7 +136,7 @@
state: "True"
- name: "install_method"
state: "{{ keystone_install_method }}"
when: (install_packages | changed) or
when: (install_packages is changed) or
(ansible_local is not defined) or
('openstack_ansible' not in ansible_local) or
('keystone' not in ansible_local['openstack_ansible']) or