]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
validate: fix bug when using vault
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 10 Nov 2021 13:32:26 +0000 (14:32 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 29 Nov 2021 12:40:59 +0000 (13:40 +0100)
commitef9921c215a87ae4a9980901f12f620d94e1cc43
tree9269d78b34e419e7eafde9dcbea363eabe026e6f
parent6bdaa9e3d57ab5ddfabfa9baf11bea7cc3d26d4d
validate: fix bug when using vault

since a variable encrypted with vault is no longer a string but a
encrypted object we can't use the filter | length, we have to convert it
to a string before.

Fixes: #6991
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 6ad7e5286920fceff6f4483672cbdca44f06a25f)
roles/ceph-validate/tasks/main.yml