From eebabcc8b8769193de4965075ae717ad71cce59c Mon Sep 17 00:00:00 2001 From: NeoPlays <80448387+NeoPlays@users.noreply.github.com> Date: Wed, 12 Jun 2024 12:57:58 +0200 Subject: [PATCH] FIX: don't ensure 0 return code --- .../roles/update-changes/tasks/2.1.5/charon_teku_changes.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/roles/update-changes/tasks/2.1.5/charon_teku_changes.yaml b/controls/roles/update-changes/tasks/2.1.5/charon_teku_changes.yaml index dab77af38..72e328c9a 100644 --- a/controls/roles/update-changes/tasks/2.1.5/charon_teku_changes.yaml +++ b/controls/roles/update-changes/tasks/2.1.5/charon_teku_changes.yaml @@ -10,7 +10,7 @@ service_configuration_text: "{{ service_configuration_raw['content'] | b64decode }}" - name: Check if service_configuration.id is in any of the filtered_files - shell: "grep -lq '{{ service_configuration.id }}' {{ item }} || true" + shell: "grep -lq '{{ service_configuration.id }}' {{ item }}" loop: "{{ filtered_files }}" ignore_errors: true register: grep_result