Browse Source

Merge "Fix ansible deprecation warnings"

Zuul 4 months ago
parent
commit
b8890c4841
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      tasks/glance_install.yml
  2. 1
    1
      tasks/glance_post_install.yml

+ 1
- 1
tasks/glance_install.yml View File

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

+ 1
- 1
tasks/glance_post_install.yml View File

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

Loading…
Cancel
Save