mirror of https://github.com/ceph/ceph-ansible.git
ceph-osd: change jinja condition
If an existing cluster runs this config, and has ceph-disk OSD, the
`expose_partitions` won't be expected by jinja since it's inside the
'old' if. We need it as part of the osd_scenario != 'lvm' condition.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1640273
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit bef522627e
)
pull/3415/head
parent
729744c6a8
commit
1151521784
|
@ -52,10 +52,11 @@ function expose_partitions {
|
|||
fi
|
||||
}
|
||||
|
||||
{% endif -%}
|
||||
|
||||
expose_partitions "$1"
|
||||
|
||||
{% endif -%}
|
||||
{% endif -%}
|
||||
|
||||
|
||||
########
|
||||
|
|
Loading…
Reference in New Issue