mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Windows: Add "special" parameter types to docs (#42853)
* Windows: Add special parameter types Adding explicit parameter types now exposes this information in the module documentation, and proves really helpful. We only do this for non-string types as strings, mostly because strings are implicit. PS We also make copyright statements consistent and use #Requires for explicit library imports * Type "string" must be type "str" * A few more Copyright corrections * More fixes * Don't add file encoding to Powershell files * Don't add missing interfacetypes parameter Otherwise CI demands an incorrect version_added * Small fix
This commit is contained in:
@@ -24,11 +24,13 @@ options:
|
||||
executable:
|
||||
description:
|
||||
- The location of the PsExec utility (in case it is not located in your PATH).
|
||||
type: path
|
||||
default: psexec.exe
|
||||
hostnames:
|
||||
description:
|
||||
- The hostnames to run the command.
|
||||
- If not provided, the command is run locally.
|
||||
type: list
|
||||
username:
|
||||
description:
|
||||
- The (remote) user to run the command as.
|
||||
@@ -40,6 +42,7 @@ options:
|
||||
chdir:
|
||||
description:
|
||||
- Run the command from this (remote) directory.
|
||||
type: path
|
||||
nobanner:
|
||||
description:
|
||||
- Do not display the startup banner and copyright message.
|
||||
@@ -85,6 +88,7 @@ options:
|
||||
timeout:
|
||||
description:
|
||||
- The connection timeout in seconds
|
||||
type: int
|
||||
wait:
|
||||
description:
|
||||
- Wait for the application to terminate.
|
||||
|
||||
Reference in New Issue
Block a user