From 87034b1fb6d0ce17814e07cccfa9d6a23cb16b2d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Knecht?= Date: Mon, 20 Jan 2020 11:36:27 +0100 Subject: [PATCH] ceph-rgw: Fix customize pool size "when" condition MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit In 3c31b19ab39f297635c84edb9e8a5de6c2da7707, 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 (cherry picked from commit 3842aa1a30277b5ea3acf78ac1aef37bad5afb14) --- roles/ceph-rgw/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-rgw/tasks/main.yml b/roles/ceph-rgw/tasks/main.yml index 95f306e61..d8977b654 100644 --- a/roles/ceph-rgw/tasks/main.yml +++ b/roles/ceph-rgw/tasks/main.yml @@ -40,4 +40,4 @@ changed_when: false run_once: true when: - - item.size | default(osd_pool_default_size) != ceph_osd_pool_default_size + - item.value.size | default(osd_pool_default_size) != ceph_osd_pool_default_size -- 2.47.3