diff --git a/roles/ceph-rgw/tasks/main.yml b/roles/ceph-rgw/tasks/main.yml index 65d0dccd5..55351058f 100644 --- a/roles/ceph-rgw/tasks/main.yml +++ b/roles/ceph-rgw/tasks/main.yml @@ -42,7 +42,7 @@ run_once: true register: result until: result is succeeded - when: item.size | default(osd_pool_default_size) != ceph_osd_pool_default_size + when: item.value.size | default(osd_pool_default_size) != ceph_osd_pool_default_size - name: set the rgw_create_pools pools application to rgw command: "{{ container_exec_cmd }} ceph --connect-timeout 5 --cluster {{ cluster }} osd pool application enable {{ item.key }} rgw"