mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-05 05:34:22 -07:00
(cherry picked from commit f67473024d
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
bccf77a461
commit
4e13c8b969
22 changed files with 72 additions and 96 deletions
|
@ -124,7 +124,7 @@ host_power_status:
|
|||
- Will be one of C(ON), C(OFF) and C(UNKNOWN).
|
||||
returned: always
|
||||
type: str
|
||||
sample: ON
|
||||
sample: "ON"
|
||||
version_added: 3.5.0
|
||||
'''
|
||||
|
||||
|
|
|
@ -96,32 +96,22 @@ Description:
|
|||
description: Firmware update status description.
|
||||
returned: always
|
||||
type: str
|
||||
sample:
|
||||
- Ready for FW update
|
||||
- FW update in progress
|
||||
- FW update completed. Waiting for activation.
|
||||
sample: Ready for FW update
|
||||
ErrorCode:
|
||||
description: Numeric error code for firmware update status. Non-zero indicates an error condition.
|
||||
returned: always
|
||||
type: int
|
||||
sample:
|
||||
- 0
|
||||
sample: 0
|
||||
EstimatedRemainingMinutes:
|
||||
description: Estimated number of minutes remaining in firmware update operation.
|
||||
returned: always
|
||||
type: int
|
||||
sample:
|
||||
- 0
|
||||
- 20
|
||||
sample: 20
|
||||
StatusCode:
|
||||
description: Firmware update status code.
|
||||
returned: always
|
||||
type: int
|
||||
sample:
|
||||
- 0 (Ready for FW update)
|
||||
- 1 (FW update in progress)
|
||||
- 2 (FW update completed. Waiting for activation.)
|
||||
- 3 (FW update failed.)
|
||||
sample: 2
|
||||
'''
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue