]> git-server-git.apps.pok.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, 14 Apr 2022 08:38:43 +0000 (10:38 +0200)
commit82120d398087733ca05a9cb3f938721bd8c5118a
tree3f7c7076309177246c0a6ec2f2a6bc829de78842
parent2e2d893d28d74f101a9c8c94ca98d12445ff2267
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>
(cherry picked from commit aa0cc9381d8491c30a47d27b395f58e776c5ef0b)
roles/ceph-dashboard/tasks/configure_dashboard.yml
roles/ceph-facts/tasks/set_radosgw_address.yml