Debian Codegraph @

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

raw
1 .. _idrac_system_info_module:
2
3
4 idrac_system_info -- Get the PowerEdge Server System Inventory
5 ==============================================================
6
7 .. contents::
8 :local:
9 :depth: 1
10
11
12 Synopsis
13 --------
14
15 Get the PowerEdge Server System Inventory.
16
17
18
19 Requirements
20 ------------
21 The below requirements are needed on the host that executes this module.
22
23 - omsdk \>= 1.2.488
24 - python \>= 3.9.6
25
26
27
28 Parameters
29 ----------
30
31 idrac_ip (True, str, None)
32 iDRAC IP Address.
33
34
35 idrac_user (True, str, None)
36 iDRAC username.
37
38 If the username is not provided, then the environment variable :envvar:`IDRAC\_USERNAME` is used.
39
40 Example: export IDRAC\_USERNAME=username
41
42
43 idrac_password (True, str, None)
44 iDRAC user password.
45
46 If the password is not provided, then the environment variable :envvar:`IDRAC\_PASSWORD` is used.
47
48 Example: export IDRAC\_PASSWORD=password
49
50
51 idrac_port (optional, int, 443)
52 iDRAC port.
53
54
55 validate_certs (optional, bool, True)
56 If :literal:`false`\ , the SSL certificates will not be validated.
57
58 Configure :literal:`false` only on personally controlled sites where self-signed certificates are used.
59
60 Prior to collection version :literal:`5.0.0`\ , the :emphasis:`validate\_certs` is :literal:`false` by default.
61
62
63 ca_path (optional, path, None)
64 The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
65
66
67 timeout (optional, int, 30)
68 The socket level timeout in seconds.
69
70
71
72
73
74 Notes
75 -----
76
77 .. note::
78 - Run this module from a system that has direct access to Dell iDRAC.
79 - This module supports both IPv4 and IPv6 address for :emphasis:`idrac\_ip`.
80 - This module supports :literal:`check\_mode`.
81 - The functionality to get :emphasis:`temperature\_sensors`\ , :emphasis:`fan\_sensors`\ , :emphasis:`controller\_sensor`\ , :emphasis:`controller\_battery`\ , :emphasis:`system\_metrics`\ , :emphasis:`system\_board\_metrics`\ , :emphasis:`sensors\_amperage` and :emphasis:`video` component is not available through iDRAC10.
82
83
84
85
86 Examples
87 --------
88
89 .. code-block:: yaml+jinja
90
91
92 ---
93 - name: Get System Inventory
94 dellemc.openmanage.idrac_system_info:
95 idrac_ip: "192.168.0.1"
96 idrac_user: "user_name"
97 idrac_password: "user_password"
98 ca_path: "/path/to/ca_cert.pem"
99
100
101
102 Return Values
103 -------------
104
105 msg (always, str, Successfully fetched the system inventory details.)
106 Overall system inventory information status.
107
108
109 system_info (success, dict, {'BIOS': [{'BIOSReleaseDate': '11/26/2019', 'FQDD': 'BIOS.Setup.1-1', 'InstanceID': 'DCIM:INSTALLED#741__BIOS.Setup.1-1', 'Key': 'DCIM:INSTALLED#741__BIOS.Setup.1-1', 'SMBIOSPresent': 'True', 'VersionString': '2.4.8'}]})
110 Details of the PowerEdge Server System Inventory.
111
112
113 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.'}]}})
114 Details of the HTTP Error.
115
116
117
118
119
120 Status
121 ------
122
123
124
125
126
127 Authors
128 ~~~~~~~
129
130 - Rajeev Arakkal (@rajeevarakkal)
131 - Kritika Bhateja (@Kritika-Bhateja-03)
132 - Abhishek Sinha (@ABHISHEK-SINHA10)
133 - Saksham Nautiyal (@Saksham-Nautiyal)
134 - Mangirish Kenkare(@MangirishK)
135