]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph-rgw: Fix customize pool size "when" condition
authorBenoît Knecht <bknecht@protonmail.ch>
Mon, 20 Jan 2020 10:36:27 +0000 (11:36 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 17 Feb 2020 16:53:58 +0000 (11:53 -0500)
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 <bknecht@protonmail.ch>
(cherry picked from commit 3842aa1a30277b5ea3acf78ac1aef37bad5afb14)

roles/ceph-rgw/tasks/main.yml

index 95f306e615c6a608f1604872e734b9c407eb8a3f..d8977b654dea5e9e24b19fe5cc80fb0353471756 100644 (file)
@@ -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