Debian Codegraph @

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

raw
1 .. _omevv_firmware_repository_profile_module:
2
3
4 omevv_firmware_repository_profile -- Create, modify, or delete OMEVV firmware repository profile
5 ================================================================================================
6
7 .. contents::
8 :local:
9 :depth: 1
10
11
12 Synopsis
13 --------
14
15 This module allows you to create, modify, or delete an OpenManage Enterprise Integration for VMware Center (OMEVV) firmware repository profile.
16
17
18
19 Requirements
20 ------------
21 The below requirements are needed on the host that executes this module.
22
23 - python \>= 3.9.6
24
25
26
27 Parameters
28 ----------
29
30 state (optional, str, present)
31 \ :literal:`present`\ creates an OMEVV firmware repository profile or modifies an existing profile if the profile with the same name exists.
32
33 \ :literal:`absent`\ deletes the OMEVV firmware repository profile.
34
35 Either \ :emphasis:`profile\_name`\ or \ :emphasis:`profile\_id`\ is required when \ :emphasis:`state`\ is \ :literal:`absent`\ .
36
37
38 name (optional, str, None)
39 Name of the OMEVV firmware repository profile.
40
41 This parameter is required for modification operation when \ :emphasis:`state`\ is \ :literal:`absent`\ .
42
43
44 description (optional, str, None)
45 Description of OMEVV firmware repository profile.
46
47
48 new_name (optional, str, None)
49 Name of the new OMEVV profile name when modify operation is performed.
50
51
52 protocol_type (optional, str, None)
53 \ :literal:`NFS`\ represents the NFS share path.
54
55 \ :literal:`CIFS`\ represents the NFS share path.
56
57 \ :literal:`HTTP`\ represents the HTTP share path.
58
59 \ :literal:`HTTPS`\ represents the HTTPS share path.
60
61 This parameter is required when \ :emphasis:`state`\ is \ :literal:`present`\ and a new profile is created.
62
63
64 catalog_path (optional, str, None)
65 Absolute path of the catalog.
66
67 HTTP, HTTPS, NFS, and CIFS paths are supported.
68
69 This parameter is required when \ :emphasis:`state`\ is \ :literal:`present`\ .
70
71
72 share_username (optional, str, None)
73 Username of the share.
74
75 This parameter is required when \ :emphasis:`catalog\_path`\ is HTTPS or CIFS.
76
77
78 share_password (optional, str, None)
79 Password of the share.
80
81 This parameter is required when \ :emphasis:`catalog\_path`\ is HTTPS or CIFS.
82
83
84 share_domain (optional, str, None)
85 Domain of the share.
86
87
88 hostname (True, str, None)
89 IP address or hostname of the OpenManage Enterprise Modular.
90
91
92 vcenter_username (False, str, None)
93 Username for OpenManage Enterprise Integration for VMware vCenter (OMEVV).
94
95 If the username is not provided, then the environment variable \ :envvar:`OMEVV\_VCENTER\_USERNAME`\ is used.
96
97 Example: export OMEVV\_VCENTER\_USERNAME=username
98
99
100 vcenter_password (False, str, None)
101 Password for OpenManage Enterprise Integration for VMware vCenter (OMEVV).
102
103 If the password is not provided, then the environment variable \ :envvar:`OMEVV\_VCENTER\_PASSWORD`\ is used.
104
105 Example: export OMEVV\_VCENTER\_PASSWORD=password
106
107
108 vcenter_uuid (False, str, None)
109 Universally Unique Identifier (UUID) of vCenter.
110
111 vCenter UUID details can be retrieved using \ :ref:`dellemc.openmanage.omevv\_vcenter\_info <ansible_collections.dellemc.openmanage.omevv_vcenter_info_module>`\ module.
112
113 If UUID is not provided, then the environment variable \ :envvar:`OMEVV\_VCENTER\_UUID`\ is used.
114
115 Example: export OMEVV\_VCENTER\_UUID=uuid
116
117
118 port (optional, int, 443)
119 OpenManage Enterprise HTTPS port.
120
121
122 validate_certs (optional, bool, True)
123 Whether to check SSL certificate. - If \ :literal:`true`\ , the SSL certificates will be validated. - If \ :literal:`false`\ , the SSL certificates will not be validated.
124
125
126 ca_path (optional, path, None)
127 The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.
128
129
130 timeout (optional, int, 30)
131 The socket level timeout in seconds.
132
133
134
135
136
137 Notes
138 -----
139
140 .. note::
141 - Run this module from a system that has direct access to Dell OpenManage Enterprise.
142
143
144
145
146 Examples
147 --------
148
149 .. code-block:: yaml+jinja
150
151
152 ---
153 - name: Create an OMEVV firmware repository profile
154 dellemc.openmanage.omevv_firmware_repository_profile:
155 hostname: "192.168.0.1"
156 vcenter_uuid: "xxxxx"
157 vcenter_username: "username"
158 vcenter_password: "password"
159 ca_path: "path/to/ca_file"
160 state: present
161 name: profile-1
162 catalog_path: http://xx.xx.xx.xx/share/Catalog/Catalog.xml
163
164 - name: Modify an OMEVV firmware repository profile
165 dellemc.openmanage.omevv_firmware_repository_profile:
166 hostname: "192.168.0.1"
167 vcenter_uuid: "xxxxx"
168 vcenter_username: "username"
169 vcenter_password: "password"
170 ca_path: "path/to/ca_file"
171 state: present
172 name: profile-1
173 new_name: profile-2
174 catalog_path: http://xx.xx.xx.xx/new_share/Catalog/Catalog.xml
175
176 - name: Delete an OMEVV firmware repository profile
177 dellemc.openmanage.omevv_firmware_repository_profile:
178 hostname: "192.168.0.1"
179 vcenter_uuid: "xxxxx"
180 vcenter_username: "username"
181 vcenter_password: "password"
182 ca_path: "path/to/ca_file"
183 state: absent
184 name: profile-1
185
186
187
188 Return Values
189 -------------
190
191 msg (always, str, Successfully created the OMEVV firmware repository profile.)
192 Status of the profile operation.
193
194
195 error_info (on HTTP error, dict, {'errorCode': '18001', 'message': 'Repository profile with name Test already exists.'})
196 Details of the HTTP Error.
197
198
199
200
201
202 Status
203 ------
204
205
206
207
208
209 Authors
210 ~~~~~~~
211
212 - Shivam Sharma(@ShivamSh3)
213