From a43132ba93443eda8ce6ed86be03c6c951af7815 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sat, 2 Dec 2023 21:26:24 +0100 Subject: [PATCH] [PR #7626/30edafab backport][stable-8] add BootProgress property to redfish_info (#7668) add BootProgress property to redfish_info (#7626) * add BootProgress property to redfish_info changelog update changelog wording for end users * Update changelog fragment. --------- Co-authored-by: dgeorge Co-authored-by: Felix Fontein (cherry picked from commit 30edafabe72dd51d24ba7c391abf9c0704ed6050) Co-authored-by: danxg87 --- .../fragments/7626-redfish-info-add-boot-progress-property.yml | 2 ++ plugins/module_utils/redfish_utils.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/7626-redfish-info-add-boot-progress-property.yml diff --git a/changelogs/fragments/7626-redfish-info-add-boot-progress-property.yml b/changelogs/fragments/7626-redfish-info-add-boot-progress-property.yml new file mode 100644 index 0000000000..919383686b --- /dev/null +++ b/changelogs/fragments/7626-redfish-info-add-boot-progress-property.yml @@ -0,0 +1,2 @@ +minor_changes: + - redfish_info - adding the ``BootProgress`` property when getting ``Systems`` info (https://github.com/ansible-collections/community.general/pull/7626). diff --git a/plugins/module_utils/redfish_utils.py b/plugins/module_utils/redfish_utils.py index a4fc5912c4..dadf12c33b 100644 --- a/plugins/module_utils/redfish_utils.py +++ b/plugins/module_utils/redfish_utils.py @@ -2955,7 +2955,7 @@ class RedfishUtils(object): result = {} inventory = {} # Get these entries, but does not fail if not found - properties = ['Status', 'HostName', 'PowerState', 'Model', 'Manufacturer', + properties = ['Status', 'HostName', 'PowerState', 'BootProgress', 'Model', 'Manufacturer', 'PartNumber', 'SystemType', 'AssetTag', 'ServiceTag', 'SerialNumber', 'SKU', 'BiosVersion', 'MemorySummary', 'ProcessorSummary', 'TrustedModules', 'Name', 'Id']