mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
win_mapped_drive: removed docs around a system wide mount (#49017)
This commit is contained in:
parent
14612db43f
commit
c3770bf6f2
1 changed files with 0 additions and 13 deletions
|
@ -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…
Reference in a new issue