]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
dashboard: support --limit execution with rgw
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 13 Apr 2022 08:42:47 +0000 (10:42 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 20 Oct 2022 08:40:49 +0000 (10:40 +0200)
commit45c2f0a90a330332202a8abdca52fa45bb7e4ebd
tree456f716696a3830efceac2a708bb75780910c307
parent93df3e53ab02eb112468b7c896db10d97b754cf3
dashboard: support --limit execution with rgw

When the following conditions are met:

- rgw is deployed,
- dashboard is deployed,
- playbook is called with --limit,
- a node being processed is collocated on either a mon or mgr.

The playbook fails because `rgw_instances` is undefined.
The idea here is to make sure this variable is always defined.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2063029
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-dashboard/tasks/configure_dashboard.yml
roles/ceph-facts/tasks/set_radosgw_address.yml