]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
filestore-to-bluestore: fix py2 on skipped tasks v4.0.20
authorDimitri Savineau <dsavinea@redhat.com>
Mon, 20 Apr 2020 13:47:31 +0000 (09:47 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 20 Apr 2020 17:38:19 +0000 (13:38 -0400)
commit46c640c169ba8c70285c597e9b01f855d4025b5d
treeffd1700b5c9786bce9c74b30702e4c2e2997d9c1
parent6878aab0f94586e4ccd58fb1f3880c8821db0929
filestore-to-bluestore: fix py2 on skipped tasks

When using skipped variables with from_json filter and python2 then we
need to have a default value otherwise the skipped task will fail.

Unexpected templating type error occurred on
({{ (ceph_volume_lvm_list.stdout | from_json) }}): expected string or
buffer

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1790472
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 2b9edba13149cdf326cbe944defbd7e05e328497)
infrastructure-playbooks/filestore-to-bluestore.yml