diff --git a/roles/ceph-facts/tasks/set_radosgw_address.yml b/roles/ceph-facts/tasks/set_radosgw_address.yml index 81a0bac0a..dfb1ea2cf 100644 --- a/roles/ceph-facts/tasks/set_radosgw_address.yml +++ b/roles/ceph-facts/tasks/set_radosgw_address.yml @@ -81,4 +81,5 @@ run_once: true when: - inventory_hostname in groups.get(rgw_group_name, []) + - hostvars[item]["rgw_instances_host"] is defined - hostvars[item]["rgw_multisite"] | default(False) | bool