Fixes #3539 "win_robocopy does not return changed properly" (#20158)

* Fixes #3539 "win_robocopy does not return changed properly"

Remove .win_robocopy from $result so that ansible can see the values properly. This also matches up with the existing documentation.

* Update documentation to match new return values
This commit is contained in:
Matthew Dawson
2017-01-12 23:04:14 +00:00
committed by Matt Davis
parent 232cb764da
commit 0ffacedb3e
2 changed files with 12 additions and 15 deletions

View File

@@ -129,7 +129,7 @@ flags:
returned: always
type: string
sample: "/e /purge"
return_code:
rc:
description: The return code retuned by robocopy.
returned: success
type: int