diff --git a/roles/ceph-dashboard/tasks/configure_dashboard.yml b/roles/ceph-dashboard/tasks/configure_dashboard.yml index 2eba5ff15..40e2cba5a 100644 --- a/roles/ceph-dashboard/tasks/configure_dashboard.yml +++ b/roles/ceph-dashboard/tasks/configure_dashboard.yml @@ -33,9 +33,10 @@ - include_role: name: ceph-facts tasks_from: set_radosgw_address.yml - loop: "{{ groups[rgw_group_name] }}" + loop: "{{ groups.get(rgw_group_name, []) }}" loop_control: loop_var: ceph_dashboard_call_item + when: inventory_hostname in groups.get(rgw_group_name, []) - name: disable SSL for dashboard when: dashboard_protocol == "http"