Debian Codegraph @

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

raw
1 .. _dellemc_configure_idrac_services_module:
2
3
4 dellemc_configure_idrac_services -- Configures the iDRAC services related attributes
5 ====================================================================================
6
7 .. contents::
8 :local:
9 :depth: 1
10
11
12 Synopsis
13 --------
14
15 This module allows to configure the iDRAC services related attributes.
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
39 idrac_password (True, str, None)
40 iDRAC user password.
41
42
43 idrac_port (optional, int, 443)
44 iDRAC port.
45
46
47 validate_certs (optional, bool, True)
48 If ``false``, the SSL certificates will not be validated.
49
50 Configure ``false`` only on personally controlled sites where self-signed certificates are used.
51
52 Prior to collection version ``5.0.0``, the *validate_certs* is ``false`` by default.
53
54
55 ca_path (optional, path, None)
56 The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
57
58
59 share_name (optional, str, None)
60 (deprecated)Network share or a local path.
61
62 This option is deprecated and will be removed in the later version.
63
64
65 share_user (optional, str, None)
66 (deprecated)Network share user in the format 'user@domain' or 'domain\user' if user is part of a domain else 'user'. This option is mandatory for CIFS Network Share.
67
68 This option is deprecated and will be removed in the later version.
69
70
71 share_password (optional, str, None)
72 (deprecated)Network share user password. This option is mandatory for CIFS Network Share.
73
74 This option is deprecated and will be removed in the later version.
75
76
77 share_mnt (optional, str, None)
78 (deprecated)Local mount path of the network share with read-write permission for ansible user. This option is mandatory for Network Share.
79
80 This option is deprecated and will be removed in the later version.
81
82
83 enable_web_server (optional, str, None)
84 Whether to Enable or Disable webserver configuration for iDRAC.
85
86
87 ssl_encryption (optional, str, None)
88 Secure Socket Layer encryption for webserver.
89
90
91 tls_protocol (optional, str, None)
92 Transport Layer Security for webserver.
93
94
95 https_port (optional, int, None)
96 HTTPS access port.
97
98
99 http_port (optional, int, None)
100 HTTP access port.
101
102
103 timeout (optional, str, None)
104 Timeout value.
105
106
107 snmp_enable (optional, str, None)
108 Whether to Enable or Disable SNMP protocol for iDRAC.
109
110
111 snmp_protocol (optional, str, None)
112 Type of the SNMP protocol.
113
114
115 community_name (optional, str, None)
116 SNMP community name for iDRAC. It is used by iDRAC to validate SNMP queries received from remote systems requesting SNMP data access.
117
118
119 alert_port (optional, int, 162)
120 The iDRAC port number that must be used for SNMP traps. The default value is 162, and the acceptable range is between 1 to 65535.
121
122
123 discovery_port (optional, int, 161)
124 The SNMP agent port on the iDRAC. The default value is 161, and the acceptable range is between 1 to 65535.
125
126
127 trap_format (optional, str, None)
128 SNMP trap format for iDRAC.
129
130
131 ipmi_lan (optional, dict, None)
132 Community name set on iDRAC for SNMP settings.
133
134
135 community_name (optional, str, None)
136 This option is used by iDRAC when it sends out SNMP and IPMI traps. The community name is checked by the remote system to which the traps are sent.
137
138
139
140
141
142
143 Notes
144 -----
145
146 .. note::
147 - This module requires 'Administrator' privilege for *idrac_user*.
148 - Run this module from a system that has direct access to Dell iDRAC.
149 - This module supports both IPv4 and IPv6 address for *idrac_ip*.
150 - This module supports ``check_mode``.
151
152
153
154
155 Examples
156 --------
157
158 .. code-block:: yaml+jinja
159
160
161 ---
162 - name: Configure the iDRAC services attributes
163 dellemc.openmanage.dellemc_configure_idrac_services:
164 idrac_ip: "192.168.0.1"
165 idrac_user: "user_name"
166 idrac_password: "user_password"
167 ca_path: "/path/to/ca_cert.pem"
168 enable_web_server: "Enabled"
169 http_port: 80
170 https_port: 443
171 ssl_encryption: "Auto_Negotiate"
172 tls_protocol: "TLS_1_2_Only"
173 timeout: "1800"
174 snmp_enable: "Enabled"
175 snmp_protocol: "SNMPv3"
176 community_name: "public"
177 alert_port: 162
178 discovery_port: 161
179 trap_format: "SNMPv3"
180 ipmi_lan:
181 community_name: "public"
182
183
184
185 Return Values
186 -------------
187
188 msg (always, str, Successfully configured the iDRAC services settings.)
189 Overall status of iDRAC service attributes configuration.
190
191
192 service_status (success, dict, {'CompletionTime': '2020-04-02T02:43:28', 'Description': 'Job Instance', 'EndTime': None, 'Id': 'JID_12345123456', 'JobState': 'Completed', 'JobType': 'ImportConfiguration', 'Message': 'Successfully imported and applied Server Configuration Profile.', 'MessageArgs': [], 'MessageId': 'SYS053', 'Name': 'Import Configuration', 'PercentComplete': 100, 'StartTime': 'TIME_NOW', 'Status': 'Success', 'TargetSettingsURI': None, 'retval': True})
193 Details of iDRAC services attributes configuration.
194
195
196 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.'}]}})
197 Details of the HTTP Error.
198
199
200
201
202
203 Status
204 ------
205
206
207 - This module will be removed in version
208 .
209 *[deprecated]*
210
211
212 Authors
213 ~~~~~~~
214
215 - Felix Stephen (@felixs88)
216