From 1290485314f6e76c9ce23eadc744aeea526eb407 Mon Sep 17 00:00:00 2001 From: stakater-nordmart-bot Date: Tue, 9 Jan 2024 20:51:47 +0500 Subject: [PATCH] Update --- .../tasks/modify_alertmanager_secret.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/grafana_cloud_operator/tasks/modify_alertmanager_secret.yml b/roles/grafana_cloud_operator/tasks/modify_alertmanager_secret.yml index 0ee4b227..c5300755 100644 --- a/roles/grafana_cloud_operator/tasks/modify_alertmanager_secret.yml +++ b/roles/grafana_cloud_operator/tasks/modify_alertmanager_secret.yml @@ -41,7 +41,7 @@ - name: Re-encode modified alertmanager content for cluster ansible.builtin.set_fact: encoded_alertmanager_secret_content: "{{ modified_alertmanager_secret_content | to_nice_yaml | b64encode }}" - when: mode == 'hubAndSpoke' + when: 'mode == hubAndSpoke' - name: Create a new SyncSet for each cluster to patch alertmanager-main secret kubernetes.core.k8s: @@ -67,5 +67,5 @@ alertmanager.yaml: "{{ encoded_alertmanager_secret_content }}" when: - create_integration_for | length > 0 - - mode == 'hubAndSpoke' + - 'mode == hubAndSpoke' register: syncset_creation_results