win_mapped_drive: removed docs around a system wide mount (#49017)

pull/48794/head
Jordan Borean 6 years ago committed by GitHub
parent 14612db43f
commit c3770bf6f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,10 +30,6 @@ notes:
- If become or CredSSP is not available, the I(username) and I(password) - If become or CredSSP is not available, the I(username) and I(password)
options can be used for the initial authentication but these are not options can be used for the initial authentication but these are not
persisted. persisted.
- To create a system wide mount, use become with the U(SYSTEM) account.
- A system wide mount will always show as disconnected in Windows Explorer and
still relies on the user's credentials or credential vault for further
authentication if needed.
options: options:
letter: letter:
description: description:
@ -120,15 +116,6 @@ EXAMPLES = r'''
state: present state: present
username: '{{ ansible_user }}' username: '{{ ansible_user }}'
password: '{{ ansible_password }}' password: '{{ ansible_password }}'
- name: Create a system wide mapped drive
win_mapped_drive:
letter: S
path: \\SERVER\C$
state: present
become: yes
become_method: runas
become_user: SYSTEM
''' '''
RETURN = r''' RETURN = r'''

Loading…
Cancel
Save