mirror of https://github.com/ceph/ceph-ansible.git
ceph-rgw: Fix customize pool size "when" condition
Inpull/4965/head3c31b19ab3
, I fixed the `customize pool size` task by replacing `item.size` with `item.value.size`. However, I missed the same issue in the `when` condition. Signed-off-by: Benoît Knecht <bknecht@protonmail.ch> (cherry picked from commit3842aa1a30
)
parent
1462423059
commit
ff2a2bb870
|
@ -42,7 +42,7 @@
|
||||||
run_once: true
|
run_once: true
|
||||||
register: result
|
register: result
|
||||||
until: result is succeeded
|
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
|
- 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"
|
command: "{{ container_exec_cmd }} ceph --connect-timeout 5 --cluster {{ cluster }} osd pool application enable {{ item.key }} rgw"
|
||||||
|
|
Loading…
Reference in New Issue