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 <amaredia@redhat.com>
pull/5667/head
Ali Maredia 2020-06-04 21:00:16 +00:00 committed by Guillaume Abrioux
parent f77fa6e2a4
commit 5c1f4b1a1e
1 changed files with 1 additions and 1 deletions

View 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