]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
validate: check virtual_ips variable
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 11 Jan 2021 09:06:08 +0000 (10:06 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 12 Jan 2021 10:03:12 +0000 (11:03 +0100)
commitae196bf94631bd31b8fa663305de90072766b7f6
tree8fe3ed71152dc3720998ce69bf115fd988627a5e
parent3116f464226d676cae9603503c3f8a2d57bcf055
validate: check virtual_ips variable

This commit checks the length of `virtual_ips` doesn't exceed the length
of `groups[rgwloadbalancer_group_name]`.
It also ensure this variable is defined when
`groups[rgwloadbalancer_group_name]` contains at least one node.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-validate/tasks/main.yml