diff options
author | Jordan Borean <jborean93@gmail.com> | 2017-09-13 17:35:12 +1000 |
---|---|---|
committer | jborean93 <jborean93@gmail.com> | 2017-09-14 07:03:49 +1000 |
commit | 4f049ab74eee0f18bd52c936d55fa91ca63228e4 (patch) | |
tree | 51bac4747abf807348f7b038c3270dfcd84f808d | |
parent | a859c8bba56c15298a1e016bc0aa52ae58ce5154 (diff) | |
download | ansible-4f049ab74eee0f18bd52c936d55fa91ca63228e4.tar.gz |
fixed become to show the stdout and stderr streams instead of the StreamReader (#30254)
(cherry picked from commit 77b2aca5a2657e16ab6a236b43a8122164e3b574)
-rw-r--r-- | lib/ansible/plugins/shell/powershell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/plugins/shell/powershell.py b/lib/ansible/plugins/shell/powershell.py index 24119c9ad6..df2aeeac76 100644 --- a/lib/ansible/plugins/shell/powershell.py +++ b/lib/ansible/plugins/shell/powershell.py @@ -693,7 +693,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" } } |