]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-osd: change jinja condition
authorSébastien Han <seb@redhat.com>
Tue, 27 Nov 2018 16:50:44 +0000 (17:50 +0100)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Mon, 3 Dec 2018 14:11:47 +0000 (14:11 +0000)
commitbef522627e1e9827b86710c7a54f35a0cd596fbb
tree46d405e44b26a008793eef786c11d2693f046bd0
parentbf375327a0c39ea2afd4632e8e90666a70177042
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>
roles/ceph-osd/templates/ceph-osd-run.sh.j2