From e33899c15c115218fa57c608a25d863ac092d1d4 Mon Sep 17 00:00:00 2001 From: Andre Aranha Date: Wed, 17 Apr 2024 13:52:05 +0200 Subject: [PATCH] Update 'Stop and disable certmonger' script --- tests/roles/tls_adoption/tasks/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/roles/tls_adoption/tasks/main.yaml b/tests/roles/tls_adoption/tasks/main.yaml index 6af5f9f3c..9df10e8e2 100644 --- a/tests/roles/tls_adoption/tasks/main.yaml +++ b/tests/roles/tls_adoption/tasks/main.yaml @@ -54,8 +54,8 @@ else echo "There is/are $number_of_certs certificates to stop being tracked on $i. Stopping to track certificates..." fi - while IFS= read -r cert; do + for cert in $certs_to_stop; do echo "Stopping to track $cert..." ${SSH_CMD} rm -f $certs_directory/$cert - done <<< "$certs_to_stop" + done done