Skip to content

Commit

Permalink
Win_copy: doc fix when using become (ansible#57690)
Browse files Browse the repository at this point in the history
* win_copy: doc update

* Community review
  • Loading branch information
ShachafGoldstein authored and acozine committed Jun 17, 2019
1 parent 924352a commit acc01f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/ansible/modules/windows/win_copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@
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.
Expand Down Expand Up @@ -164,7 +164,8 @@
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'''
Expand Down

0 comments on commit acc01f1

Please sign in to comment.