Merge "Fix ansible deprecation warnings"

This commit is contained in:
Zuul 2018-12-21 14:17:11 +00:00 committed by Gerrit Code Review
commit b8890c4841
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@
section: "glance"
option: "need_service_restart"
value: true
when: (install_packages | changed) or
when: (install_packages is changed) or
('need_service_restart' not in ansible_local['openstack_ansible']['glance'])
- name: Run the systemd service role

View File

@ -121,4 +121,4 @@
hour: "*"
- name: "{{ glance_bin }}/glance-cache-cleaner"
hour: "*/5"
when: glance_flavor | search("cache")
when: glance_flavor is search("cache")