Debian Codegraph @

ansible_collections/dellemc/openmanage/roles/idrac_storage_controller/meta/argument_specs.yml

raw symbols SCIP
1 ---
2 argument_specs:
3 main:
4 version_added: "7.6.0"
5 short_description: Configures the physical disk, virtual disk, and storage controller settings
6 description:
7 - This role allows the users to configure the settings of the physical disk, virtual disk,
8 and storage controller on iDRAC9 based PowerEdge servers.
9 options:
10 hostname:
11 required: true
12 type: str
13 description: iDRAC IP Address.
14 username:
15 type: str
16 description: iDRAC username.
17 password:
18 type: str
19 description: iDRAC user password.
20 https_port:
21 type: int
22 description: iDRAC port.
23 default: 443
24 validate_certs:
25 description:
26 - If C(false), the SSL certificates will not be validated.
27 - Configure C(false) only on personally controlled sites where self-signed certificates are used.
28 type: bool
29 default: true
30 ca_path:
31 description:
32 - The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
33 type: path
34 https_timeout:
35 description: The socket level timeout in seconds.
36 type: int
37 default: 30
38 controller_id:
39 required: true
40 description: The ID of the controller on which the operations need to be performed.
41 type: str
42 volumes:
43 type: dict
44 description: List of volume that belongs to I(controller_id).
45 options:
46 id:
47 required: true
48 type: str
49 description: Fully Qualified Device Descriptor (FQDD) of the volume.
50 dedicated_hot_spare:
51 type: str
52 description:
53 - Fully Qualified Device Descriptor (FQDD) of the physical disk to assign the volume
54 as a dedicated hot spare to a disk.
55 encrypted:
56 type: bool
57 description: To encrypt the virtual disk.
58 expand_capacity_disk:
59 type: str
60 description:
61 - Fully Qualified Device Descriptor (FQDD) of the disk for expanding the capacity with
62 the existing disk.
63 - I(expand_capacity_size) is mutually exclusive with I(expand_capacity_disk).
64 expand_capacity_size:
65 type: str
66 description:
67 - Capacity of the virtual disk to be expanded in MB.
68 - Check mode and Idempotency is not supported for I(expand_capacity_size).
69 - Minimum Online Capacity Expansion size must be greater than 100 MB of the current size.
70 - I(expand_capacity_disk) is mutually exclusive with I(expand_capacity_size).
71 blink:
72 type: bool
73 description:
74 - Blinks the target virtual disk and it always reports as changes found when
75 check mode is enabled.
76 disks:
77 type: dict
78 description: List of physical disks that belongs to I(controller_id).
79 options:
80 id:
81 required: true
82 type: str
83 description: Fully Qualified Device Descriptor (FQDD) of the physical disk.
84 blink:
85 type: bool
86 description:
87 - Blinks the target physical disk and it always reports as changes found when
88 check mode is enabled.
89 raid_state:
90 type: str
91 description:
92 - Converts the disk form Non-Raid to Raid and vice versa.
93 - C(raid) converts the physical disk to Raid.
94 - C(nonraid) converts the physical disk to Non Raid.
95 choices: [raid, nonraid]
96 status:
97 type: str
98 description:
99 - Converts the disk form online to offline and vice versa.
100 - C(online) converts the physical disk status to online.
101 - C(offline) converts the physical disk status to offline.
102 choices: [online, offline]
103 global_hot_spare:
104 type: bool
105 description:
106 - Assigns a global hot spare or unassigns a hot spare.
107 - C(true) assigns the disk as a global hot spare.
108 - C(false) unassigns the disk as a hot spare.
109 erase:
110 type: bool
111 description:
112 - To delete all the data on the physical disk securely. This
113 option is available for Self-Encrypting Drives (SED), Instant
114 Scramble Erase (ISE) drives, and PCIe SSD devices
115 (drives and cards).The drives must be in a ready state.
116 I(controller_id) and I(target) are required for this operation,
117 I(target) must be a single physical disk ID. If a secure erase
118 needs a reboot, the job will get scheduled and waits for no of
119 seconds specfied in I(job_wait_time), to reduce the wait time
120 either give I(job_wait_time) minimum or make I(job_wait) as
121 false.
122 - C(true) securely erase the disk.
123 - C(false) skips the secure erase operation.
124 reset_config:
125 type: bool
126 description: To reset the controller.
127 set_controller_key:
128 type: bool
129 description:
130 - Set the security key or enable controller encryption.
131 - If I(mode) is provided controller encryption operation is performed, otherwise sets the
132 controller security key.
133 - I(key), and I(key_id) are required for this operation.
134 rekey:
135 type: bool
136 description: Resets the key on the controller and it always reports as changes found when check mode is enabled.
137 remove_key:
138 type: bool
139 description: Remove the key on controllers.
140 key:
141 type: str
142 description:
143 - A new security key passphrase that the encryption-capable controller uses to create the
144 encryption key. The controller uses the encryption key to lock or unlock access to the Self-Encrypting
145 Drive (SED). Only one encryption key can be created for each controller.
146 - This is mandatory when I(set_controller_key) is C(true), I(rekey) is C(true).
147 - The length of the key can be a maximum of 32 characters in length, where the expanded form of the special
148 character is counted as a single character.
149 - The key must contain at least one character from each of the character classes are uppercase, lowercase,
150 number, and special character.
151 key_id:
152 type: str
153 description:
154 - This is a user supplied text label associated with the passphrase.
155 - This is mandatory when I(set_controller_key) is C(true), I(rekey) is C(true).
156 - The length of I(key_id) can be a maximum of 32 characters in length and should not have any spaces.
157 old_key:
158 type: str
159 description:
160 - Security key passphrase used by the encryption-capable controller.
161 - This option is mandatory when I(rekey) is C(true).
162 mode:
163 type: str
164 description:
165 - Encryption mode of the encryption capable controller.
166 - This option is mandatory when I(rekey) is C(true) and for enabling controller encryption.
167 - C(SEKM) to choose mode as secure enterprise key manager.
168 - C(LKM) to choose mode as local key management.
169 choices: [LKM, SEKM]
170 attributes:
171 type: dict
172 description:
173 - Dictionary of controller attributes and value pair.
174 - This feature is only supported for iDRAC9 with firmware version 6.00.00.00 and above.
175 - I(controller_id) is required for this operation.
176 - I(apply_time) and I(maintenance_window) is applicable for I(attributes).
177 - Use U(https://I(idrac_ip)/redfish/v1/Schemas/DellOemStorageController.json) to view the attributes.
178 apply_time:
179 type: str
180 description:
181 - Apply time of the I(attributes).
182 - This is applicable only to I(attributes).
183 - C(Immediate) Allows the user to immediately reboot the host and apply the changes. I(job_wait)
184 is applicable.
185 - C(OnReset) Allows the user to apply the changes on the next reboot of the host server.
186 - C(AtMaintenanceWindowStart) Allows the user to apply the changes at the start of a maintenance window
187 as specified in I(maintenance_window).
188 - C(InMaintenanceWindowOnReset) Allows the users to apply after a manual reset but within the maintenance
189 window as specified in I(maintenance_window).
190 choices:
191 [
192 Immediate,
193 OnReset,
194 AtMaintenanceWindowStart,
195 InMaintenanceWindowOnReset,
196 ]
197 default: Immediate
198 maintenance_window:
199 type: dict
200 description:
201 - Option to schedule the maintenance window.
202 - This is required when I(apply_time) is C(AtMaintenanceWindowStart) or C(InMaintenanceWindowOnReset).
203 options:
204 start_time:
205 required: true
206 type: str
207 description:
208 - The start time for the maintenance window to be scheduled.
209 - The format is YYYY-MM-DDThh:mm:ss<offset>
210 - <offset> is the time offset from UTC that the current timezone set in iDRAC in the
211 format is +05:30 for IST.
212 duration:
213 type: int
214 description: The duration in seconds for the maintenance window.
215 default: 900