From 70cf2a5846e38e98b32c47a176cb38488af3dc12 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Mon, 19 Aug 2019 13:51:14 +0200 Subject: [PATCH] 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 --- roles/ceph-osd/tasks/openstack_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-osd/tasks/openstack_config.yml b/roles/ceph-osd/tasks/openstack_config.yml index 899d67b59..2bfeec097 100644 --- a/roles/ceph-osd/tasks/openstack_config.yml +++ b/roles/ceph-osd/tasks/openstack_config.yml @@ -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: >