mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
Convert to reduced list of known types (#50010)
This commit is contained in:
parent
fcd1486b51
commit
05c6ff79f9
908 changed files with 4822 additions and 4821 deletions
|
@ -102,7 +102,7 @@ EXAMPLES = """
|
|||
RETURN = """
|
||||
---
|
||||
msg:
|
||||
type: string
|
||||
type: str
|
||||
description: Over all firmware update status.
|
||||
returned: always
|
||||
sample: "Successfully updated the firmware."
|
||||
|
|
|
@ -69,19 +69,19 @@ RETURN = r'''
|
|||
hw_bios_date:
|
||||
description: BIOS date
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 05/05/2011
|
||||
|
||||
hw_bios_version:
|
||||
description: BIOS version
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: P68
|
||||
|
||||
hw_ethX:
|
||||
description: Interface information (for each interface)
|
||||
returned: always
|
||||
type: dictionary
|
||||
type: dict
|
||||
sample:
|
||||
- macaddress: 00:11:22:33:44:55
|
||||
macaddress_dash: 00-11-22-33-44-55
|
||||
|
@ -89,7 +89,7 @@ hw_ethX:
|
|||
hw_eth_ilo:
|
||||
description: Interface information (for the iLO network interface)
|
||||
returned: always
|
||||
type: dictionary
|
||||
type: dict
|
||||
sample:
|
||||
- macaddress: 00:11:22:33:44:BA
|
||||
- macaddress_dash: 00-11-22-33-44-BA
|
||||
|
@ -97,25 +97,25 @@ hw_eth_ilo:
|
|||
hw_product_name:
|
||||
description: Product name
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ProLiant DL360 G7
|
||||
|
||||
hw_product_uuid:
|
||||
description: Product UUID
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ef50bac8-2845-40ff-81d9-675315501dac
|
||||
|
||||
hw_system_serial:
|
||||
description: System serial number
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: ABC12345D6
|
||||
|
||||
hw_uuid:
|
||||
description: Hardware UUID
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: 123456ABC78901D2
|
||||
'''
|
||||
|
||||
|
|
|
@ -210,7 +210,7 @@ elapsed:
|
|||
response:
|
||||
description: HTTP response message, including content length
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: OK (729 bytes)
|
||||
status:
|
||||
description: The HTTP response status code
|
||||
|
@ -232,24 +232,24 @@ error:
|
|||
error_code:
|
||||
description: Cisco IMC error code
|
||||
returned: failed
|
||||
type: string
|
||||
type: str
|
||||
sample: ERR-xml-parse-error
|
||||
error_text:
|
||||
description: Cisco IMC error message
|
||||
returned: failed
|
||||
type: string
|
||||
type: str
|
||||
sample: |
|
||||
XML PARSING ERROR: Element 'computeRackUnit', attribute 'admin_Power': The attribute 'admin_Power' is not allowed.
|
||||
input:
|
||||
description: RAW XML input sent to the Cisco IMC, causing the error
|
||||
returned: failed
|
||||
type: string
|
||||
type: str
|
||||
sample: |
|
||||
<configConfMo><inConfig><computeRackUnit dn="sys/rack-unit-1" admin_Power="down"/></inConfig></configConfMo>
|
||||
output:
|
||||
description: RAW XML output eceived from the Cisco IMC, with error details
|
||||
returned: failed
|
||||
type: string
|
||||
type: str
|
||||
sample: >
|
||||
<error cookie=""
|
||||
response="yes"
|
||||
|
|
|
@ -79,7 +79,7 @@ RETURN = '''
|
|||
bootdev:
|
||||
description: The boot device name which will be used beyond next boot.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: default
|
||||
persistent:
|
||||
description: If True, system firmware will use this device beyond next boot.
|
||||
|
|
|
@ -61,7 +61,7 @@ RETURN = '''
|
|||
powerstate:
|
||||
description: The current power state of the machine.
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
sample: on
|
||||
'''
|
||||
|
||||
|
|
|
@ -170,7 +170,7 @@ group:
|
|||
description:
|
||||
description: The group description
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
id:
|
||||
description: The group id
|
||||
returned: success
|
||||
|
@ -178,15 +178,15 @@ group:
|
|||
group_type:
|
||||
description: The group type, system or user
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
role:
|
||||
description: The group role name
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
tenant:
|
||||
description: The group tenant name
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
managed_filters:
|
||||
description: The tag values per category
|
||||
returned: success
|
||||
|
@ -198,7 +198,7 @@ group:
|
|||
created_on:
|
||||
description: Group creation date
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
example: 2018-08-12T08:37:55+00:00
|
||||
updated_on:
|
||||
description: Group update date
|
||||
|
|
|
@ -149,11 +149,11 @@ tenant:
|
|||
name:
|
||||
description: The tenant name
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
description:
|
||||
description: The tenant description
|
||||
returned: success
|
||||
type: string
|
||||
type: str
|
||||
parent_id:
|
||||
description: The id of the parent tenant
|
||||
returned: success
|
||||
|
|
|
@ -124,7 +124,7 @@ enclosures:
|
|||
enclosure_script:
|
||||
description: Has all the OneView facts about the script of an Enclosure.
|
||||
returned: When requested, but can be null.
|
||||
type: string
|
||||
type: str
|
||||
|
||||
enclosure_environmental_configuration:
|
||||
description: Has all the OneView facts about the environmental configuration of an Enclosure.
|
||||
|
|
|
@ -59,7 +59,7 @@ RETURN = '''
|
|||
msg:
|
||||
description: Message with action result or error description
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "Action was successful"
|
||||
'''
|
||||
|
||||
|
|
|
@ -134,7 +134,7 @@ RETURN = '''
|
|||
msg:
|
||||
description: Message with action result or error description
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "Action was successful"
|
||||
'''
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ RETURN = '''
|
|||
msg:
|
||||
description: Message with action result or error description
|
||||
returned: always
|
||||
type: string
|
||||
type: str
|
||||
sample: "Action was successful"
|
||||
'''
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ RETURN = '''
|
|||
changed:
|
||||
description: response to whether or not the api call completed successfully
|
||||
returned: always
|
||||
type: boolean
|
||||
type: bool
|
||||
sample: true
|
||||
|
||||
stdout:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue