| 1 |
.. _omevv_firmware_repository_profile_info_module: |
| 2 |
|
| 3 |
|
| 4 |
omevv_firmware_repository_profile_info -- Retrieve OMEVV firmware repository profile information. |
| 5 |
================================================================================================= |
| 6 |
|
| 7 |
.. contents:: |
| 8 |
:local: |
| 9 |
:depth: 1 |
| 10 |
|
| 11 |
|
| 12 |
Synopsis |
| 13 |
-------- |
| 14 |
|
| 15 |
This module allows you to retrieve the OMEVV firmware repository profile information. |
| 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 |
name (optional, str, None) |
| 31 |
Name of the OMEVV firmware repository profile. |
| 32 |
|
| 33 |
If \ :emphasis:`name`\ is provided, the module retrieves only specified firmware repository profile information. |
| 34 |
|
| 35 |
|
| 36 |
hostname (True, str, None) |
| 37 |
OpenManage Enterprise or OpenManage Enterprise Modular IP address or hostname. |
| 38 |
|
| 39 |
|
| 40 |
vcenter_username (False, str, None) |
| 41 |
OpenManage Enterprise Integration for VMware vCenter username. |
| 42 |
|
| 43 |
If the username is not provided, then the environment variable \ :envvar:`OMEVV\_VCENTER\_USERNAME`\ is used. |
| 44 |
|
| 45 |
Example: export OMEVV\_VCENTER\_USERNAME=username |
| 46 |
|
| 47 |
|
| 48 |
vcenter_password (False, str, None) |
| 49 |
OpenManage Enterprise Integration for VMware vCenter password. |
| 50 |
|
| 51 |
If the password is not provided, then the environment variable \ :envvar:`OMEVV\_VCENTER\_PASSWORD`\ is used. |
| 52 |
|
| 53 |
Example: export OMEVV\_VCENTER\_PASSWORD=password |
| 54 |
|
| 55 |
|
| 56 |
vcenter_uuid (False, str, None) |
| 57 |
Universally unique identifier (uuid) of vCenter. |
| 58 |
|
| 59 |
vCenter uuid details can be fetched using \ :ref:`dellemc.openmanage.omevv\_vcenter\_info <ansible_collections.dellemc.openmanage.omevv_vcenter_info_module>`\ module. |
| 60 |
|
| 61 |
If the uuid is not provided, then the environment variable \ :envvar:`OMEVV\_VCENTER\_UUID`\ is used. |
| 62 |
|
| 63 |
Example: export OMEVV\_VCENTER\_UUID=uuid |
| 64 |
|
| 65 |
|
| 66 |
port (optional, int, 443) |
| 67 |
OpenManage Enterprise HTTPS port. |
| 68 |
|
| 69 |
|
| 70 |
validate_certs (optional, bool, True) |
| 71 |
Whether to check SSL certificate. - If \ :literal:`true`\ , the SSL certificates will be validated. - If \ :literal:`false`\ , the SSL certificates will not be validated. |
| 72 |
|
| 73 |
|
| 74 |
ca_path (optional, path, None) |
| 75 |
The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation. |
| 76 |
|
| 77 |
|
| 78 |
timeout (optional, int, 30) |
| 79 |
The socket level timeout in seconds. |
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
Notes |
| 86 |
----- |
| 87 |
|
| 88 |
.. note:: |
| 89 |
- This module supports IPv4 and IPv6 addresses. |
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
Examples |
| 95 |
-------- |
| 96 |
|
| 97 |
.. code-block:: yaml+jinja |
| 98 |
|
| 99 |
|
| 100 |
--- |
| 101 |
- name: Retrieve all firmware repository profile information. |
| 102 |
dellemc.openmanage.omevv_firmware_repository_profile_info: |
| 103 |
hostname: "192.168.0.1" |
| 104 |
vcenter_uuid: "xxxxxx" |
| 105 |
vcenter_username: "username" |
| 106 |
vcenter_password: "password" |
| 107 |
ca_path: "path/to/ca_file" |
| 108 |
|
| 109 |
- name: Retrieve specific firmware repository profile information using profile name. |
| 110 |
dellemc.openmanage.omevv_firmware_repository_profile_info: |
| 111 |
hostname: "192.168.0.1" |
| 112 |
vcenter_uuid: "xxxxxx" |
| 113 |
vcenter_username: "username" |
| 114 |
vcenter_password: "password" |
| 115 |
ca_path: "path/to/ca_file" |
| 116 |
name: profile-1 |
| 117 |
|
| 118 |
|
| 119 |
|
| 120 |
Return Values |
| 121 |
------------- |
| 122 |
|
| 123 |
msg (always, str, Successfully retrieved the firmware repository profile information.) |
| 124 |
Status of the firmare repository profile information for the retrieve operation. |
| 125 |
|
| 126 |
|
| 127 |
profile_info (success, list, [{'id': 1000, 'profileName': 'Dell Default Catalog', 'description': 'Latest Firmware From Dell', 'profileType': 'Firmware', 'sharePath': 'https://downloads.dell.com//catalog/catalog.xml.gz', 'fileName': 'catalog.xml', 'status': 'Success', 'factoryCreated': True, 'factoryType': 'Default', 'catalogCreatedDate': '2024-08-27T01:58:10Z', 'catalogLastChecked': '2024-09-09T19:30:16Z', 'checkCertificate': None, 'protocolType': 'HTTPS', 'createdBy': 'OMEVV Default', 'modifiedBy': None, 'owner': 'OMEVV'}, {'id': 1001, 'profileName': 'Dell Default Catalog', 'description': 'Latest Firmware From Dell', 'profileType': 'Firmware', 'sharePath': 'https://downloads.dell.com//catalog/catalog.xml.gz', 'fileName': 'catalog.xml', 'status': 'Success', 'factoryCreated': True, 'factoryType': 'Default', 'catalogCreatedDate': '2024-08-27T01:58:10Z', 'catalogLastChecked': '2024-09-09T19:30:16Z', 'checkCertificate': None, 'protocolType': 'HTTPS', 'createdBy': 'OMEVV Default', 'modifiedBy': None, 'owner': 'OMEVV'}]) |
| 128 |
Information on the vCenter. |
| 129 |
|
| 130 |
|
| 131 |
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.'}]}}) |
| 132 |
Details of the HTTP Error. |
| 133 |
|
| 134 |
|
| 135 |
|
| 136 |
|
| 137 |
|
| 138 |
Status |
| 139 |
------ |
| 140 |
|
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
|
| 145 |
Authors |
| 146 |
~~~~~~~ |
| 147 |
|
| 148 |
- Lovepreet Singh (@singh-lovepreet1) |
| 149 |
|