return wu result from inner job (#42647)

fixes #42423

(cherry picked from commit a5fc9a17f0)
pull/42147/merge
Matt Davis 6 years ago committed by Matt Clay
parent 25d5d10f51
commit f126eddff1

@ -0,0 +1,2 @@
bugfixes:
- win_updates - fixed module return value is lost in error in some cases (https://github.com/ansible/ansible/pull/42647)

@ -355,6 +355,8 @@ $update_script_block = {
}
Write-DebugLog -msg "Return value:`r`n$(ConvertTo-Json -InputObject $result -Depth 99)"
return $result
}
$check_mode = $arguments.check_mode

Loading…
Cancel
Save