Debian Codegraph @

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

raw symbols SCIP
1 ---
2 argument_specs:
3 main:
4 version_added: "7.4.0"
5 short_description: This role allows to generate certificate signing
6 request, import, and export certificates on iDRAC
7 description:
8 - Role to manage the iDRAC certificates - Generate CSR,
9 Import/Export certificates, and Reset configuration - for
10 PowerEdge servers.
11 options:
12 hostname:
13 required: true
14 type: str
15 description: iDRAC IP Address.
16 username:
17 type: str
18 description: iDRAC username.
19 password:
20 type: str
21 description: iDRAC user password.
22 https_port:
23 type: int
24 description: iDRAC port.
25 default: 443
26 validate_certs:
27 description:
28 - If C(false), the SSL certificates will not be validated.
29 - Configure C(false) only on personally controlled sites where
30 self-signed certificates are used.
31 - Prior to collection version C(5.0.0), the I(validate_certs) is
32 C(false) by default.
33 type: bool
34 default: true
35 ca_path:
36 description:
37 - The Privacy Enhanced Mail (PEM) file that contains a
38 CA certificate to be used for the validation.
39 type: str
40 https_timeout:
41 description: The socket level timeout in seconds.
42 type: int
43 default: 30
44 command:
45 description: C(generate_csr), generate CSR. This requires
46 I(cert_params) and I(certificate_path).
47 choices: ["import", "export", "generate_csr", "reset"]
48 default: "generate_csr"
49 type: str
50 certificate_type:
51 description: Type of the iDRAC certificate
52 - C(HTTPS) The Dell self-signed SSL certificate.
53 - C(CA) Certificate Authority(CA) signed SSL certificate.
54 - C(CSC) The custom signed SSL certificate.
55 - C(CLIENT_TRUST_CERTIFICATE) Client trust certificate.
56 - C(CUSTOMCERTIFICATE) The custom PKCS12 certificate and private key.
57 Export of custom certificate is supported only on
58 iDRAC firmware version 7.00.00.00 and above.
59 type: str
60 choices: ["HTTPS", "CA", "CSC", "CLIENT_TRUST_CERTIFICATE",
61 "CUSTOMCERTIFICATE"]
62 default: "HTTPS"
63 certificate_path:
64 description:
65 - Absolute path of the certificate file if I(command) is C(import).
66 - Directory path with write permissions if I(command)
67 is C(generate_csr) or C(export).
68 type: path
69 passphrase:
70 description: The passphrase string if the certificate to be
71 imported is passphrase protected.
72 type: str
73 ssl_key:
74 description:
75 - Absolute path of the private or SSL key file.
76 - This is applicable only when I(command) is C(import)
77 and I(certificate_type) is C(HTTPS).
78 - Uploading the SSL key on iDRAC is supported on version
79 6.00.02.00 and newer versions.
80 type: path
81 version_added: 8.6.0
82 cert_params:
83 description: Certificate parameters to generate signing request.
84 type: dict
85 options:
86 common_name:
87 description: The common name of the certificate.
88 type: str
89 organization_unit:
90 description: The name associated with an organizational unit.
91 For example, department name.
92 type: str
93 default: true
94 locality_name:
95 description: The city or other location where the entity
96 applying for certification is located.
97 type: str
98 state_name:
99 description: The state where the entity applying for
100 certification is located.
101 type: str
102 country_code:
103 description: The country code of the country where the entity
104 applying for certification is located.
105 type: str
106 email_address:
107 description: The email associated with the CSR.
108 type: str
109 organization_name:
110 description: The name associated with an organization.
111 type: str
112 subject_alt_name:
113 description: The alternative domain names associated with the request.
114 type: list
115 elements: str
116 default: []
117 resource_id:
118 description: Redfish ID of the resource.
119 type: str
120 reset:
121 description:
122 - To reset the iDRAC after the certificate operation.
123 - This is applicable when I(command) is C(import) or C(reset).
124 type: bool
125 default: true
126 wait:
127 description:
128 - Maximum wait time for iDRAC to start after the reset, in seconds.
129 - This is applicable when I(command) is C(import) or C(reset)
130 and I(reset) is C(True).
131 type: int
132 default: 300