mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Windows: Add missing parameter types and doc fixes (#50232)
* Windows: Add missing parameter types and doc fixes This PR includes: - Adding missing parameter types - Various documentation fixes * Update lib/ansible/modules/windows/win_copy.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_credential.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_domain_computer.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_domain_user.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_environment.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_psexec.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_uri.py Co-Authored-By: dagwieers <dag@wieers.com> * Update lib/ansible/modules/windows/win_wait_for.py Co-Authored-By: dagwieers <dag@wieers.com> * Ensure docstrings are raw strings
This commit is contained in:
committed by
Alicia Cozine
parent
f80ce60cf9
commit
d863027159
@@ -21,25 +21,29 @@ options:
|
||||
description:
|
||||
- Set to C(present) to ensure environment variable is set.
|
||||
- Set to C(absent) to ensure it is removed.
|
||||
type: str
|
||||
choices: [ absent, present ]
|
||||
default: present
|
||||
name:
|
||||
description:
|
||||
- The name of the environment variable.
|
||||
type: str
|
||||
required: yes
|
||||
value:
|
||||
description:
|
||||
- The value to store in the environment variable.
|
||||
- Must be set when C(state=present) and cannot be an empty string.
|
||||
- Can be omitted for C(state=absent).
|
||||
type: str
|
||||
level:
|
||||
description:
|
||||
- The level at which to set the environment variable.
|
||||
- Use C(machine) to set for all users.
|
||||
- Use C(user) to set for the current user that ansible is connected as.
|
||||
- Use C(process) to set for the current process. Probably not that useful.
|
||||
choices: [ machine, user, process ]
|
||||
type: str
|
||||
required: yes
|
||||
choices: [ machine, process, user ]
|
||||
notes:
|
||||
- This module is best-suited for setting the entire value of an
|
||||
environment variable. For safe element-based management of
|
||||
|
||||
Reference in New Issue
Block a user