Debian Codegraph @

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

raw
1 .. _ome_firmware_baseline_info_module:
2
3
4 ome_firmware_baseline_info -- Retrieves baseline details from OpenManage Enterprise
5 ===================================================================================
6
7 .. contents::
8 :local:
9 :depth: 1
10
11
12 Synopsis
13 --------
14
15 This module retrieves the list and details of all the baselines on OpenManage Enterprise.
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 baseline_name (optional, str, None)
31 Name of the baseline.If \ :emphasis:`baseline\_name`\ is not provided, all the available firmware baselines are returned.
32
33
34 hostname (True, str, None)
35 OpenManage Enterprise or OpenManage Enterprise Modular IP address or hostname.
36
37
38 username (False, str, None)
39 OpenManage Enterprise or OpenManage Enterprise Modular username.
40
41 If the username is not provided, then the environment variable \ :envvar:`OME\_USERNAME`\ is used.
42
43 Example: export OME\_USERNAME=username
44
45
46 password (False, str, None)
47 OpenManage Enterprise or OpenManage Enterprise Modular password.
48
49 If the password is not provided, then the environment variable \ :envvar:`OME\_PASSWORD`\ is used.
50
51 Example: export OME\_PASSWORD=password
52
53
54 x_auth_token (False, str, None)
55 Authentication token.
56
57 If the x\_auth\_token is not provided, then the environment variable \ :envvar:`OME\_X\_AUTH\_TOKEN`\ is used.
58
59 Example: export OME\_X\_AUTH\_TOKEN=x\_auth\_token
60
61
62 port (optional, int, 443)
63 OpenManage Enterprise or OpenManage Enterprise Modular HTTPS port.
64
65
66 validate_certs (optional, bool, True)
67 If \ :literal:`false`\ , the SSL certificates will not be validated.
68
69 Configure \ :literal:`false`\ only on personally controlled sites where self-signed certificates are used.
70
71 Prior to collection version \ :literal:`5.0.0`\ , the \ :emphasis:`validate\_certs`\ is \ :literal:`false`\ by default.
72
73
74 ca_path (optional, path, None)
75 The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
76
77
78 timeout (optional, int, 30)
79 The socket level timeout in seconds.
80
81
82
83
84
85 Notes
86 -----
87
88 .. note::
89 - Run this module from a system that has direct access to Dell OpenManage Enterprise.
90 - This module supports \ :literal:`check\_mode`\ .
91
92
93
94
95 Examples
96 --------
97
98 .. code-block:: yaml+jinja
99
100
101 ---
102 - name: Retrieve details of all the available firmware baselines
103 dellemc.openmanage.ome_firmware_baseline_info:
104 hostname: "192.168.0.1"
105 username: "username"
106 password: "password"
107 ca_path: "/path/to/ca_cert.pem"
108
109 - name: Retrieve details of a specific firmware baseline identified by its baseline name
110 dellemc.openmanage.ome_firmware_baseline_info:
111 hostname: "192.168.0.1"
112 username: "username"
113 password: "password"
114 ca_path: "/path/to/ca_cert.pem"
115 baseline_name: "baseline_name"
116
117
118
119 Return Values
120 -------------
121
122 msg (on error, str, Successfully fetched firmware baseline information.)
123 Overall baseline information.
124
125
126 baseline_info (success, dict, {'@odata.id': '/api/UpdateService/Baselines(239)', '@odata.type': '#UpdateService.Baselines', 'CatalogId': 22, 'ComplianceSummary': {'ComplianceStatus': 'CRITICAL', 'NumberOfCritical': 1, 'NumberOfDowngrade': 0, 'NumberOfNormal': 0, 'NumberOfWarning': 0}, 'Description': 'baseline_description', '[email protected]': '/api/UpdateService/Baselines(239)/DeviceComplianceReports', 'DowngradeEnabled': True, 'Id': 239, 'Is64Bit': True, 'LastRun': '2020-05-22 16:42:40.307', 'Name': 'baseline_name', 'RepositoryId': 12, 'RepositoryName': 'HTTP DELL', 'RepositoryType': 'DELL_ONLINE', 'Targets': [{'Id': 10342, 'Type': {'Id': 1000, 'Name': 'DEVICE'}}], 'TaskId': 41415, 'TaskStatusId': 2060})
127 Details of the baselines.
128
129
130
131
132
133 Status
134 ------
135
136
137
138
139
140 Authors
141 ~~~~~~~
142
143 - Sajna Shetty(@Sajna-Shetty)
144 - Mangirish Kenkare(@MangirishK)
145