diff --git a/roles/ceph-defaults/tasks/facts.yml b/roles/ceph-defaults/tasks/facts.yml index c2e905f0c..4404e4ba8 100644 --- a/roles/ceph-defaults/tasks/facts.yml +++ b/roles/ceph-defaults/tasks/facts.yml @@ -267,6 +267,8 @@ - name: import_tasks set_radosgw_address.yml import_tasks: set_radosgw_address.yml + when: + - inventory_hostname in groups.get(rgw_group_name, []) - name: populate service facts service_facts: