]> git-server-git.apps.pok.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>
Tue, 4 Dec 2018 09:01:50 +0000 (09:01 +0000)
commit1151521784eab15ccbc4e1eb76709ff5abf58519
treed87742d0f34e31c11b0ed6e4d5aaab9d37f04fe9
parent729744c6a8c69f5fdf66b67fb28063297996e30a
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 bef522627e1e9827b86710c7a54f35a0cd596fbb)
roles/ceph-osd/templates/ceph-osd-run.sh.j2