]> git-server-git.apps.pok.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)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 17 Aug 2020 09:11:11 +0000 (11:11 +0200)
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>
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