mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 22:00:22 -07: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:
parent
f80ce60cf9
commit
d863027159
92 changed files with 982 additions and 716 deletions
|
@ -23,26 +23,30 @@ options:
|
|||
name:
|
||||
description:
|
||||
- Name of the repository to work with.
|
||||
type: str
|
||||
required: yes
|
||||
source:
|
||||
description:
|
||||
- Specifies the URI for discovering and installing modules from this repository.
|
||||
- A URI can be a NuGet server feed (most common situation), HTTP, HTTPS, FTP or file location.
|
||||
type: str
|
||||
state:
|
||||
description:
|
||||
- If C(present) a new repository is added or updated.
|
||||
- If C(absent) a repository is removed.
|
||||
type: str
|
||||
choices: [ absent, present ]
|
||||
default: present
|
||||
installation_policy:
|
||||
description:
|
||||
- Sets the C(InstallationPolicy) of a repository.
|
||||
- Will default to C(trusted) when creating a new repository.
|
||||
type: str
|
||||
choices: [ trusted, untrusted ]
|
||||
notes:
|
||||
- The PowerShellGet module (version 1.6.0 or newer) and the NuGet package provider (version 2.8.5.201 or newer) are required.
|
||||
- See the examples on how to update the NuGet package provider.
|
||||
- You can't use C(win_psrepository) to re-register (add) removed PSGallery, use the command C(Register-PSRepository -Default) instead.
|
||||
- You can not use C(win_psrepository) to re-register (add) removed PSGallery, use the command C(Register-PSRepository -Default) instead.
|
||||
seealso:
|
||||
- module: win_psmodule
|
||||
author:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue