mirror of https://github.com/ceph/ceph-ansible.git
osd: remove useless condition
just like `ceph_osd_pool_default_size`, a pool size might change after an initial deployment. Having this condition prevents from customizing the pool in that case. This is not needed so let's remove it. Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/4350/head
parent
a08f5f2ea2
commit
70cf2a5846
|
@ -48,7 +48,7 @@
|
||||||
with_items: "{{ openstack_pools | unique }}"
|
with_items: "{{ openstack_pools | unique }}"
|
||||||
delegate_to: "{{ groups[mon_group_name][0] }}"
|
delegate_to: "{{ groups[mon_group_name][0] }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: item.size | default(osd_pool_default_size) != ceph_osd_pool_default_size
|
when: item.size | default(osd_pool_default_size)
|
||||||
|
|
||||||
- name: customize pool min_size
|
- name: customize pool min_size
|
||||||
command: >
|
command: >
|
||||||
|
|
Loading…
Reference in New Issue