]> 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:34 +0000 (10:38 +0200)
commitf224782326834a4450173056658c6e08c30903f6
tree57a9930e3e4201f205dbfcfa5fc5f19c747f3465
parent86ac9a8c48e24ed19e683efaef061372bacaca97
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