From 5a9749ce3edc0f60374736a8a6778ab350483b22 Mon Sep 17 00:00:00 2001 From: stakater-nordmart-bot Date: Fri, 13 Dec 2024 18:43:37 +0500 Subject: [PATCH] fix --- roles/grafana_cloud_operator/tasks/grafana_oncall_hub_spoke.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/grafana_cloud_operator/tasks/grafana_oncall_hub_spoke.yml b/roles/grafana_cloud_operator/tasks/grafana_oncall_hub_spoke.yml index 36497068..130de74a 100644 --- a/roles/grafana_cloud_operator/tasks/grafana_oncall_hub_spoke.yml +++ b/roles/grafana_cloud_operator/tasks/grafana_oncall_hub_spoke.yml @@ -45,7 +45,7 @@ - name: Extract ManagedCluster details with owner label ansible.builtin.set_fact: - managed_clusters: "{{ managed_clusters | default([]) + [{'name': item.metadata.name, 'owner': item.metadata.labels.owner }}" + managed_clusters: "{{ managed_clusters | default([]) + [{'name': item.metadata.name, 'owner': item.metadata.labels.owner}] }}" loop: "{{ managed_clusters_raw.resources }}" loop_control: loop_var: item