Debian Codegraph @

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

raw
1 .. _dellemc_system_lockdown_mode_module:
2
3
4 dellemc_system_lockdown_mode -- Configures system lockdown mode for iDRAC
5 =========================================================================
6
7 .. contents::
8 :local:
9 :depth: 1
10
11
12 Synopsis
13 --------
14
15 This module is allows to Enable or Disable System lockdown Mode.
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 share_name (optional, str, None)
32 (deprecated)Network share or a local path.
33
34 This option is deprecated and will be removed in the later version.
35
36
37 share_user (optional, str, None)
38 (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.
39
40 This option is deprecated and will be removed in the later version.
41
42
43 share_password (optional, str, None)
44 (deprecated)Network share user password. This option is mandatory for CIFS Network Share.
45
46 This option is deprecated and will be removed in the later version.
47
48
49 share_mnt (optional, str, None)
50 (deprecated)Local mount path of the network share with read-write permission for ansible user. This option is mandatory for Network Share.
51
52 This option is deprecated and will be removed in the later version.
53
54
55 lockdown_mode (True, str, None)
56 Whether to Enable or Disable system lockdown mode.
57
58
59 idrac_ip (True, str, None)
60 iDRAC IP Address.
61
62
63 idrac_user (True, str, None)
64 iDRAC username.
65
66
67 idrac_password (True, str, None)
68 iDRAC user password.
69
70
71 idrac_port (optional, int, 443)
72 iDRAC port.
73
74
75 validate_certs (optional, bool, True)
76 If ``false``, the SSL certificates will not be validated.
77
78 Configure ``false`` only on personally controlled sites where self-signed certificates are used.
79
80 Prior to collection version ``5.0.0``, the *validate_certs* is ``false`` by default.
81
82
83 ca_path (optional, path, None)
84 The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
85
86
87 timeout (optional, int, 30)
88 The socket level timeout in seconds.
89
90
91
92
93
94 Notes
95 -----
96
97 .. note::
98 - This module requires 'Administrator' privilege for *idrac_user*.
99 - Run this module from a system that has direct access to Dell iDRAC.
100 - This module supports both IPv4 and IPv6 address for *idrac_ip*.
101 - This module does not support ``check_mode``.
102
103
104
105
106 Examples
107 --------
108
109 .. code-block:: yaml+jinja
110
111
112 ---
113 - name: Check System Lockdown Mode
114 dellemc.openmanage.dellemc_system_lockdown_mode:
115 idrac_ip: "192.168.0.1"
116 idrac_user: "user_name"
117 idrac_password: "user_password"
118 ca_path: "/path/to/ca_cert.pem"
119 lockdown_mode: "Disabled"
120
121
122
123 Return Values
124 -------------
125
126 msg (always, str, Successfully completed the lockdown mode operations.)
127 Lockdown mode of the system is configured.
128
129
130 system_lockdown_status (success, dict, {'Data': {'StatusCode': 200, 'body': {'@Message.ExtendedInfo': [{'Message': 'Successfully Completed Request', 'MessageArgs': [], '[email protected]': 0, 'MessageId': 'Base.1.0.Success', 'RelatedProperties': [], '[email protected]': 0, 'Resolution': 'None', 'Severity': 'OK'}]}}, 'Message': 'none', 'Status': 'Success', 'StatusCode': 200, 'retval': True})
131 Storage configuration job and progress details from the iDRAC.
132
133
134 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.'}]}})
135 Details of the HTTP Error.
136
137
138
139
140
141 Status
142 ------
143
144
145 - This module will be removed in version
146 .
147 *[deprecated]*
148
149
150 Authors
151 ~~~~~~~
152
153 - Felix Stephen (@felixs88)
154