From e16b9071144a586fa95e1fe2f97664cd26d957c7 Mon Sep 17 00:00:00 2001 From: cptchips Date: Mon, 27 Feb 2017 17:16:50 +0100 Subject: [PATCH] Update win_robocopy example (#21992) "flags" is set, thus "recurse" and "purge" will be ignored. --- lib/ansible/modules/windows/win_robocopy.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/ansible/modules/windows/win_robocopy.py b/lib/ansible/modules/windows/win_robocopy.py index 0de942b866f..2ffb33441ac 100644 --- a/lib/ansible/modules/windows/win_robocopy.py +++ b/lib/ansible/modules/windows/win_robocopy.py @@ -98,9 +98,7 @@ EXAMPLES = r''' win_robocopy: src: C:\DirectoryOne dest: C:\DirectoryTwo - recurse: True - purge: True - flags: /XD SOME_DIR /XF SOME_FILE /MT:32 + flags: /E /PURGE /XD SOME_DIR /XF SOME_FILE /MT:32 ''' RETURN = r'''