From 141b3ce41fed34dac1255c83b9867fa71069ff8e Mon Sep 17 00:00:00 2001 From: Michael Perzel Date: Tue, 8 Sep 2015 14:35:34 -0500 Subject: [PATCH] Fix logging of error message --- lib/ansible/modules/extras/windows/win_scheduled_task.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/windows/win_scheduled_task.ps1 b/lib/ansible/modules/extras/windows/win_scheduled_task.ps1 index e71b9bd7b7..e6effebb7b 100644 --- a/lib/ansible/modules/extras/windows/win_scheduled_task.ps1 +++ b/lib/ansible/modules/extras/windows/win_scheduled_task.ps1 @@ -110,7 +110,7 @@ try { } else { # This should never occur - Fail-Json $result "$measure.count scheduled tasks found" + Fail-Json $result "$($measure.count) scheduled tasks found" } Set-Attr $result "exists" "$exists"