From 5c1f4b1a1eff8c77c4bdc816debbbc4043efc644 Mon Sep 17 00:00:00 2001 From: Ali Maredia Date: Thu, 4 Jun 2020 21:00:16 +0000 Subject: [PATCH] rgw: allow rgws to be concurrently with or without multisite Allows rgws in a ceph cluster to be run with multisite and without multisite at the same time. Signed-off-by: Ali Maredia --- roles/ceph-facts/tasks/set_radosgw_address.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-facts/tasks/set_radosgw_address.yml b/roles/ceph-facts/tasks/set_radosgw_address.yml index a766b54e2..78b28dcf9 100644 --- a/roles/ceph-facts/tasks/set_radosgw_address.yml +++ b/roles/ceph-facts/tasks/set_radosgw_address.yml @@ -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