Debian Codegraph @

ansible_collections/dellemc/openmanage/docs/modules/idrac_firmware_info.rst

raw
1 .. _idrac_firmware_info_module:
2
3
4 idrac_firmware_info -- Get Firmware Inventory
5 =============================================
6
7 .. contents::
8 :local:
9 :depth: 1
10
11
12 Synopsis
13 --------
14
15 Get Firmware Inventory.
16
17
18
19 Requirements
20 ------------
21 The below requirements are needed on the host that executes this module.
22
23 - python \>= 3.9.6
24
25
26
27 Parameters
28 ----------
29
30 idrac_ip (True, str, None)
31 iDRAC IP Address.
32
33
34 idrac_user (True, str, None)
35 iDRAC username.
36
37 If the username is not provided, then the environment variable :envvar:`IDRAC\_USERNAME` is used.
38
39 Example: export IDRAC\_USERNAME=username
40
41
42 idrac_password (True, str, None)
43 iDRAC user password.
44
45 If the password is not provided, then the environment variable :envvar:`IDRAC\_PASSWORD` is used.
46
47 Example: export IDRAC\_PASSWORD=password
48
49
50 idrac_port (optional, int, 443)
51 iDRAC port.
52
53
54 validate_certs (optional, bool, True)
55 If :literal:`false`\ , the SSL certificates will not be validated.
56
57 Configure :literal:`false` only on personally controlled sites where self-signed certificates are used.
58
59 Prior to collection version :literal:`5.0.0`\ , the :emphasis:`validate\_certs` is :literal:`false` by default.
60
61
62 ca_path (optional, path, None)
63 The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
64
65
66 timeout (optional, int, 30)
67 The socket level timeout in seconds.
68
69
70
71
72
73 Notes
74 -----
75
76 .. note::
77 - Run this module from a system that has direct access to Dell iDRAC.
78 - This module supports both IPv4 and IPv6 address for :emphasis:`idrac\_ip`.
79 - This module supports :literal:`check\_mode`.
80
81
82
83
84 Examples
85 --------
86
87 .. code-block:: yaml+jinja
88
89
90 ---
91 - name: Get Installed Firmware Inventory
92 dellemc.openmanage.idrac_firmware_info:
93 idrac_ip: "192.168.0.1"
94 idrac_user: "user_name"
95 idrac_password: "user_password"
96 ca_path: "/path/to/ca_cert.pem"
97
98
99
100 Return Values
101 -------------
102
103 msg (always, str, Successfully fetched the firmware inventory details.)
104 Fetching the firmware inventory details.
105
106
107 firmware_info (success, dict, {'Firmware': [{'BuildNumber': '0', 'Classifications': '10', 'ComponentID': '102573', 'ComponentType': 'FRMW', 'DeviceID': None, 'ElementName': 'Power Supply.Slot.1', 'FQDD': 'PSU.Slot.1', 'HashValue': None, 'IdentityInfoType': 'OrgID:ComponentType:ComponentID', 'IdentityInfoValue': 'DCIM:firmware:102573', 'InstallationDate': '2018-11-22T03:58:23Z', 'InstanceID': 'DCIM:INSTALLED#0x15__PSU.Slot.1', 'IsEntity': 'true', 'Key': 'DCIM:INSTALLED#0x15__PSU.Slot.1', 'MajorVersion': '0', 'MinorVersion': '3', 'RevisionNumber': '67', 'RevisionString': None, 'Status': 'Installed', 'SubDeviceID': None, 'SubVendorID': None, 'Updateable': 'true', 'VendorID': None, 'VersionString': '00.3D.67', 'impactsTPMmeasurements': 'false'}]})
108 Details of the firmware.
109
110
111 error_info (on HTTP error, dict, {'error': {'code': 'Base.1.0.GeneralError', 'message': 'A general error has occurred. See ExtendedInfo for more information.', '@Message.ExtendedInfo': [{'MessageId': 'GEN1234', 'RelatedProperties': [], 'Message': 'Unable to process the request because an error occurred.', 'MessageArgs': [], 'Severity': 'Critical', 'Resolution': 'Retry the operation. If the issue persists, contact your system administrator.'}]}})
112 Details of the HTTP Error.
113
114
115
116
117
118 Status
119 ------
120
121
122
123
124
125 Authors
126 ~~~~~~~
127
128 - Rajeev Arakkal (@rajeevarakkal)
129 - Saksham Nautiyal (@Saksham-Nautiyal)
130