diff --git a/lib/ansible/modules/windows/win_copy.py b/lib/ansible/modules/windows/win_copy.py index 70f8f16193..a55f4c65b7 100644 --- a/lib/ansible/modules/windows/win_copy.py +++ b/lib/ansible/modules/windows/win_copy.py @@ -91,8 +91,8 @@ options: end with "/", the directory itself with all contents is copied. - If path is a file and dest ends with "\", the file is copied to the folder with the same filename. + - Required unless using C(content). type: path - required: yes notes: - Currently win_copy does not support copying symbolic links from both local to remote and remote to remote. @@ -164,7 +164,8 @@ EXAMPLES = r''' ansible_become_password: pass # The tmp dir must be set when using win_copy as another user # This ensures the become user will have permissions for the operation - ansible_remote_tmp: '%temp%' + # Make sure to specify a folder both the ansible_user and the become_user have access to (i.e not %TEMP% which is user specific and requires Admin) + ansible_remote_tmp: 'c:\tmp' ''' RETURN = r'''