mirror of https://github.com/ansible/ansible.git
Windows async - handle trailing junk output (#85820)
Add handling for when a PowerShell module emits more than just the module result JSON. The behaviour reflects the Python async wrapper where trailing data after the module result will emit a warning.pull/85812/head
parent
df1da0419e
commit
aad9fbd4f5
@ -0,0 +1,3 @@
|
||||
bugfixes:
|
||||
- >-
|
||||
Windows async - Handle running PowerShell modules with trailing data after the module result
|
||||
@ -0,0 +1,6 @@
|
||||
#!powershell
|
||||
|
||||
#AnsibleRequires -Wrapper
|
||||
|
||||
[Console]::Out.WriteLine('{"changed": false, "test": 123}')
|
||||
'trailing junk after module result'
|
||||
Loading…
Reference in New Issue