]> git.apps.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:42:43 +0000 (13:42 +0100)
commitde14c6aeb2e4da947a14b31672f8c02d1737cfba
treed6d33048451be265868fc5fe0cf6522206de0a81
parentf5dd0a8c37dc100e6e1fe7a4bb36e82b69d4675a
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