]> 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>
Wed, 5 May 2021 07:55:33 +0000 (09:55 +0200)
commitc79b8664356df23316b2629e0295dcbeb428d544
tree76dd318b4b3bf504c8f9ee0cc32b07152ff30c34
parent6451d3681b7f7115e5753444d3de9026666dbc3f
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>
(cherry picked from commit ae196bf94631bd31b8fa663305de90072766b7f6)
roles/ceph-validate/tasks/main.yml