Win_copy: doc fix when using become (#57690)

* win_copy: doc update

* Community review
This commit is contained in:
ShachafGoldstein 2019-06-17 21:55:29 +03:00 committed by Alicia Cozine
parent 924352a051
commit acc01f1109

View file

@ -91,8 +91,8 @@ options:
end with "/", the directory itself with all contents is copied. 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 - If path is a file and dest ends with "\", the file is copied to the
folder with the same filename. folder with the same filename.
- Required unless using C(content).
type: path type: path
required: yes
notes: notes:
- Currently win_copy does not support copying symbolic links from both local to - Currently win_copy does not support copying symbolic links from both local to
remote and remote to remote. remote and remote to remote.
@ -164,7 +164,8 @@ EXAMPLES = r'''
ansible_become_password: pass ansible_become_password: pass
# The tmp dir must be set when using win_copy as another user # The tmp dir must be set when using win_copy as another user
# This ensures the become user will have permissions for the operation # 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''' RETURN = r'''