]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
rgw: allow rgws to be concurrently with or without multisite
authorAli Maredia <amaredia@redhat.com>
Thu, 4 Jun 2020 21:00:16 +0000 (21:00 +0000)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 11 Sep 2020 00:35:28 +0000 (20:35 -0400)
Allows rgws in a ceph cluster to be run with
multisite and without multisite at the same time.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
(cherry picked from commit 5c1f4b1a1eff8c77c4bdc816debbbc4043efc644)

roles/ceph-facts/tasks/set_radosgw_address.yml

index a766b54e24c0cd0c322476bf8151ffd9b9e53eb7..78b28dcf9f18ba666f6f6a88b34bd6e1d196bf82 100644 (file)
@@ -73,4 +73,4 @@
   with_items: "{{ groups.get(rgw_group_name, []) }}"
   when:
     - inventory_hostname in groups.get(rgw_group_name, [])
-    - rgw_multisite | bool
+    - hostvars[item]["rgw_multisite"] | default(False) | bool