From 77b2aca5a2657e16ab6a236b43a8122164e3b574 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Wed, 13 Sep 2017 17:35:12 +1000 Subject: [PATCH] fixed become to show the stdout and stderr streams instead of the StreamReader (#30254) --- lib/ansible/plugins/shell/powershell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/shell/powershell.py b/lib/ansible/plugins/shell/powershell.py index cf455ec8cac..18569738817 100644 --- a/lib/ansible/plugins/shell/powershell.py +++ b/lib/ansible/plugins/shell/powershell.py @@ -807,7 +807,7 @@ Function Run($payload) { $str_stderr } Else { - Throw "failed, rc was $rc, stderr was $stderr, stdout was $stdout" + Throw "failed, rc was $rc, stderr was $str_stderr, stdout was $str_stdout" } }