(cherry picked from commit f67473024d)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2022-08-04 21:10:48 +02:00 committed by GitHub
commit 4e13c8b969
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 72 additions and 96 deletions

View file

@ -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
'''

View file

@ -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