Debian Codegraph @

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

raw symbols SCIP
1 ---
2 argument_specs:
3 main:
4 version_added: "7.5.0"
5 short_description: Role to deploy operating system on the iDRAC servers
6 description:
7 - Role to generate the custom iso using the kickstart configuration file and deploy operating system on the idrac servers.
8 options:
9 hostname:
10 required: true
11 type: str
12 description: iDRAC IP Address or hostname.
13 username:
14 type: str
15 description: iDRAC username with admin privilages.
16 password:
17 type: str
18 description: iDRAC user password.
19 https_port:
20 type: int
21 description: iDRAC port.
22 default: 443
23 validate_certs:
24 description:
25 - If C(False), the SSL certificates will not be validated.
26 - Configure C(False) only on personally controlled sites where self-signed certificates are used.
27 type: bool
28 default: true
29 ca_path:
30 description: The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
31 type: path
32 https_timeout:
33 description: The socket level timeout in seconds.
34 type: int
35 default: 30
36 os_name:
37 type: str
38 description:
39 - The operating system name to match the jinja template of the kickstart file.
40 - Supported os name is versions for RHEL and ESXI.
41 - Jinja template file should exists in the format <os_name_upper>_<os_version_major>.j2
42 - This is required when I(is_custom_iso) is C(false).
43 os_version:
44 type: str
45 description:
46 - The operating system version to match the jinja template of the kickstart file.
47 - Supported versions for RHEL are 10.x, 9.x and 8.x and for ESXi is
48 8.x.
49 - Jinja template file should exists in the format <os_name_upper>_<os_version_major>.j2
50 - This is required when I(is_custom_iso) is C(false)
51 source:
52 type: dict
53 description: HTTP/HTTPS share or local path of the ISO.
54 required: true
55 options:
56 protocol:
57 type: str
58 description:
59 - Type of the the transfer protocol used to download the iso.
60 - C(https) uses the https protocol to download the iso.
61 - C(http) uses the http protocol to download the iso.
62 - C(nfs) uses the locally mounted nfs folder path to download the iso.
63 - C(cifs) uses the locally mounted cifs folder path to download the iso.
64 - C(local) uses the local folder path to download the iso.
65 - If I(custom_iso_true) is C(true) this will be used to mount the custom iso to virtual media.
66 choices: ["https", "http", "local", "cifs", "nfs"]
67 required: true
68 hostname:
69 type: str
70 description:
71 - HTTP/HTTPS address to download the ISO.
72 - Hostname of the http/https/cifs and nfs to mount the custom iso to virtual media.
73 - I(hostname) is applicable to download iso only when I(protocol) is C(http) or C(https) and I(is_custom_iso) is C(false).
74 - I(hostname) is ignored to download the iso when I(protocol) is C(local), C(nfs) or C(cifs) and I(is_custom_iso) is C(false).
75 - I(hostname) will be used to attach the virtual media when I(is_custom_iso) is C(true).
76 iso_path:
77 type: path
78 description:
79 - Absolute local path or http/https share path of the iso.
80 - when I(custom_iso) true I(iso_path) should be http, https, nfs or cifs path.
81 required: true
82 iso_name:
83 type: str
84 description: Name of the iso file.
85 required: true
86 ks_path:
87 type: path
88 description:
89 - Absolute local path or http/https share path kickstart file.
90 - When I(ks_path) is provided role skips the generation of kickstart file and uses the one provided in the input.
91 is_custom_iso:
92 type: bool
93 description:
94 - Specifies the source iso is a custom iso.
95 - C(true) uses the custom iso and skips the kickstart file generation and custom iso compilation.
96 - when C(true), I(destination) is ignored and uses the I(iso_path) to mount the virtual media on idrac.
97 - C(false) runs the the kickstart file generation and custom iso compilation
98 default: false
99 username:
100 type: str
101 description:
102 - Username of the http, https and cifs share.
103 - I(username) is applicable only when I(protocol) is C(http) , C(https) to download the iso file.
104 - I(username) is applicable to mount the custom iso as a virtual media in idrac when I(protocol) is
105 C(http) , C(https), c(cifs) and I(is_custom_iso) is C(true).
106 - I(username) is ignored when I(protocol) is C(local).
107 password:
108 type: str
109 description:
110 - Password of the http, https and cifs share.
111 - I(password) is applicable only when I(protocol) is C(http) , C(https) to download the iso file.
112 - I(password) is applicable to mount the custom iso as a virtual media in idrac when
113 I(protocol) is C(http) , C(https), c(cifs) and I(is_custom_iso) is C(true).
114 - I(password) is ignored when I(protocol) is C(local).
115 destination:
116 type: dict
117 description:
118 - Share path to mount the ISO to iDRAC.
119 - Share needs to have a write permission to copy the generated ISO.
120 - CIFS, NFS, HTTP and HTTPS shares are supported.
121 - I(destination) is ignored when I(is_custom_iso) is C(true)
122 - When the protocol is of C(http), C(https) custom iso is copied into a destination location/folder where the web server content is served.
123 - When the protocol is of C(cifs), c(nfs) custom iso is copied into the locally mounted nfs or cifs location location.
124 options:
125 protocol:
126 type: str
127 description:
128 - Type of the the transfer protocol used to mount the virtual media on to idrac.
129 - C(https) uses the ssh protocol to copy the custom iso to the I(mountpoint) and uses https protocol to the mount the virtual media.
130 - C(http) uses the ssh protocol to copy the custom iso to the I(mountpoint) and uses https protocol to the mount the virtual media.
131 - C(nfs) copies the the custom iso to the I(mountpoint) mounted localy and uses nfs protocol to the mount the virtual media.
132 - C(cifs) copies the the custom iso to the I(mountpoint) mounted localy and uses cifs protocol to the mount the virtual media.
133 choices: ["https", "http", "nfs", "cifs"]
134 required: true
135 hostname:
136 type: str
137 description:
138 - Target machine address/hostname where the custom iso will be copied.
139 - Address/hostname used to mount the iso as a virtual media.
140 - I(hostname) is applicable to copy iso using ssh when I(protocol) is C(http) or C(https).
141 - I(hostname) will be defaulted to localhost to copy iso when I(protocol) is C(nfs), C(cifs).
142 - I(hostname) will be used to mount the virtual media in idrac when I(protocol) is C(http), C(https), C(nfs) or C(cifs).
143 required: true
144 iso_path:
145 type: path
146 description: Custom iso absolute path to be used to mount as a virtual media in idrac.
147 required: true
148 iso_name:
149 type: str
150 description: Custom iso file name. If not specified defaulted to C(hostname-source.iso_name).
151 mountpoint:
152 type: path
153 description:
154 - Target machine absolute path where the custom iso will be copied.
155 - I(mountpoint) will be path where http/https is served from when I(protocol) is C(http), C(https).
156 - I(mountpoint) will be local folder mounted with nfs/cifs share when I(protocol) is C(nfs) C(cifs).
157 required: true
158 os_type:
159 description: HTTP/HTTPS share based on linux/Windows.
160 type: str
161 choices: ["linux", "windows"]
162 default: "linux"
163 username:
164 type: str
165 description:
166 - Username of the http/https/cifs share where customized ISO is used to mount as a virtual media.
167 password:
168 type: str
169 description:
170 - Password of the http/https/cifs share where customized ISO is used to mount as a virtual media.
171 wait_for_os_deployment:
172 default: true
173 type: bool
174 description:
175 - Wait for the OS deployment to finish.
176 os_deployment_timeout:
177 description:
178 - Time in minutes to wait for the OS deployment to finish.
179 default: 30
180 type: int
181 eject_iso:
182 description:
183 - Eject the virtual media (ISO) after the tracking of OS deployment is finished.
184 - ISO will be ejected if I(eject_iso) is C(true) and I(wait_for_os_deployment) is C(true).
185 default: true
186 type: bool
187 delete_custom_iso:
188 description:
189 - Deletes the Custom iso after the OS deployment is finshed.
190 - ISO will be delete if I(delete_custom_iso) is C(true) and I(wait_for_os_deployment) is C(true).
191 default: true
192 type: bool