]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
filestore-to-bluestore: fix py2 on skipped tasks
authorDimitri Savineau <dsavinea@redhat.com>
Mon, 20 Apr 2020 13:47:31 +0000 (09:47 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 20 Apr 2020 14:19:18 +0000 (16:19 +0200)
commit2b9edba13149cdf326cbe944defbd7e05e328497
tree504159771a115505fbaab034254f3995b232d3d7
parenteb71244bfd2f3c59c8245a1cf45dc6b44fa442f8
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>
infrastructure-playbooks/filestore-to-bluestore.yml