From ce237d31001241a1d1fdddcd9f5e12bca11a724d Mon Sep 17 00:00:00 2001 From: Richard Megginson Date: Mon, 4 Dec 2023 11:12:26 -0700 Subject: [PATCH] Fix grep search Fix grep search --- tests/check_notification.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check_notification.yml b/tests/check_notification.yml index f101768..f2e4a03 100644 --- a/tests/check_notification.yml +++ b/tests/check_notification.yml @@ -2,6 +2,6 @@ --- # yamllint disable rule:line-length - name: Check if webhook notification is set - command: grep -e 'webhook_endpoint .* {{ __test_webhook }}' /var/lib/pcp/config/pmie/config.default + command: grep -E 'webhook_endpoint .* "?{{ __test_webhook }}"?' /var/lib/pcp/config/pmie/config.default changed_when: false # yamllint enable rule:line-length