]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
osd: remove useless condition
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 19 Aug 2019 11:51:14 +0000 (13:51 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 20 Aug 2019 07:13:15 +0000 (09:13 +0200)
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>
(cherry picked from commit 70cf2a5846e38e98b32c47a176cb38488af3dc12)

roles/ceph-osd/tasks/openstack_config.yml

index f08fcd6aff0f01291d8fce9f9a638f8b4b7d3437..205e723bcc3a8d5f2046173f9defa31a255b1405 100644 (file)
@@ -48,7 +48,7 @@
       with_items: "{{ openstack_pools | unique }}"
       delegate_to: "{{ groups[mon_group_name][0] }}"
       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
       command: >