return wu result from inner job (#42647)

fixes #42423
pull/42651/head
Matt Davis 6 years ago committed by GitHub
parent e115e6496f
commit a5fc9a17f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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