mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-09-11 07:28:22 -07:00
Fix return types
We're now stricter on naming the return types. Replace string with str.
This commit is contained in:
parent
05c6ff79f9
commit
947c4300ee
6 changed files with 6 additions and 6 deletions
|
@ -132,7 +132,7 @@ RETURN = """
|
||||||
result:
|
result:
|
||||||
description: information about performed operation
|
description: information about performed operation
|
||||||
returned: always
|
returned: always
|
||||||
type: string
|
type: str
|
||||||
sample: {
|
sample: {
|
||||||
"adv_block_ports": true,
|
"adv_block_ports": true,
|
||||||
"adv_netflow": false,
|
"adv_netflow": false,
|
||||||
|
|
|
@ -146,7 +146,7 @@ privileges_previous:
|
||||||
local_role_name:
|
local_role_name:
|
||||||
description: Name of local role
|
description: Name of local role
|
||||||
returned: always
|
returned: always
|
||||||
type: string
|
type: str
|
||||||
new_privileges:
|
new_privileges:
|
||||||
description: List of privileges
|
description: List of privileges
|
||||||
returned: always
|
returned: always
|
||||||
|
|
|
@ -168,7 +168,7 @@ type:
|
||||||
curve:
|
curve:
|
||||||
description: Elliptic curve used to generate the TLS/SSL private key
|
description: Elliptic curve used to generate the TLS/SSL private key
|
||||||
returned: changed or success, and I(type) is C(ECC)
|
returned: changed or success, and I(type) is C(ECC)
|
||||||
type: string
|
type: str
|
||||||
sample: secp256k1
|
sample: secp256k1
|
||||||
filename:
|
filename:
|
||||||
description: Path to the generated TLS/SSL private key file
|
description: Path to the generated TLS/SSL private key file
|
||||||
|
|
|
@ -64,7 +64,7 @@ RETURN = """
|
||||||
command:
|
command:
|
||||||
description: the CLI command run on the target node.
|
description: the CLI command run on the target node.
|
||||||
returned: always
|
returned: always
|
||||||
type: string
|
type: str
|
||||||
stdout:
|
stdout:
|
||||||
description: set of responses from the admin-session-timeout command.
|
description: set of responses from the admin-session-timeout command.
|
||||||
returned: always
|
returned: always
|
||||||
|
|
|
@ -83,7 +83,7 @@ RETURN = """
|
||||||
command:
|
command:
|
||||||
description: the CLI command run on the target node.
|
description: the CLI command run on the target node.
|
||||||
returned: always
|
returned: always
|
||||||
type: string
|
type: str
|
||||||
stdout:
|
stdout:
|
||||||
description: set of responses from the cpu-class command.
|
description: set of responses from the cpu-class command.
|
||||||
returned: always
|
returned: always
|
||||||
|
|
|
@ -63,7 +63,7 @@ RETURN = """
|
||||||
command:
|
command:
|
||||||
description: the CLI command run on the target node.
|
description: the CLI command run on the target node.
|
||||||
returned: always
|
returned: always
|
||||||
type: string
|
type: str
|
||||||
stdout:
|
stdout:
|
||||||
description: set of responses from the dscp-map command.
|
description: set of responses from the dscp-map command.
|
||||||
returned: always
|
returned: always
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue