dellemc.openmanage.omevv_baseline_profile_info module – Retrieve OMEVV baseline profile information.

Note

This module is part of the dellemc.openmanage collection (version 9.9.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install dellemc.openmanage. You need further requirements to be able to use this module, see Requirements for details.

To use it in a playbook, specify: dellemc.openmanage.omevv_baseline_profile_info.

New in dellemc.openmanage 9.9.0

Synopsis

  • This module allows you to retrieve all or the specific OMEVV baseline profile information.

Requirements

The below requirements are needed on the host that executes this module.

  • python >= 3.9.6

Parameters

Parameter

Comments

ca_path

path

The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation.

hostname

string / required

IP address or hostname of the OpenManage Enterprise Modular.

name

string

Name of the baseline profile.

If name is provided, the module retrieves only specified baseline profile information.

port

integer

OpenManage Enterprise HTTPS port.

Default: 443

timeout

integer

The socket level timeout in seconds.

Default: 30

validate_certs

boolean

Whether to check SSL certificate. - If true, the SSL certificates will be validated. - If false, the SSL certificates will not be validated.

Choices:

  • false

  • true ← (default)

vcenter_password

string

Password for OpenManage Enterprise Integration for VMware vCenter (OMEVV).

If the password is not provided, then the environment variable OMEVV_VCENTER_PASSWORD is used.

Example: export OMEVV_VCENTER_PASSWORD=password

vcenter_username

string

Username for OpenManage Enterprise Integration for VMware vCenter (OMEVV).

If the username is not provided, then the environment variable OMEVV_VCENTER_USERNAME is used.

Example: export OMEVV_VCENTER_USERNAME=username

vcenter_uuid

string

Universally Unique Identifier (UUID) of vCenter.

vCenter UUID details can be retrieved using dellemc.openmanage.omevv_vcenter_info module.

If UUID is not provided, then the environment variable OMEVV_VCENTER_UUID is used.

Example: export OMEVV_VCENTER_UUID=uuid

Attributes

Attribute

Support

Description

check_mode

Support: full

Runs task to validate without performing action on the target machine.

Notes

Note

  • Run this module from a system that has direct access to Dell OpenManage Enterprise.

Examples

---
- name: Retrieve all baseline profile information.
  dellemc.openmanage.omevv_baseline_profile_info:
    hostname: "192.168.0.1"
    vcenter_uuid: "xxxxxx"
    vcenter_username: "username"
    vcenter_password: "password"
    ca_path: "path/to/ca_file"

- name: Retrieve specific baseline profile information using profile name.
  dellemc.openmanage.omevv_baseline_profile_info:
    hostname: "192.168.0.1"
    vcenter_uuid: "xxxxxx"
    vcenter_username: "username"
    vcenter_password: "password"
    ca_path: "path/to/ca_file"
    name: profile-1

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

baseline_profile_info

list / elements=dictionary

Information on the vCenter.

Returned: success

Sample: [{"baselineType": null, "clusterGroups": [], "configurationRepoId": null, "configurationRepoName": null, "consoleAddress": "xx.xx.xx.xx", "consoleId": "xxxxx", "datacenter_standAloneHostsGroups": [], "dateCreated": "2024-10-16T10:25:29.786Z", "dateModified": null, "description": "Baseline-1 desc", "driftJobId": 1743, "driftJobName": "BP-Baseline-1-Host-Firmware-Drift-Detection", "driverRepoId": null, "driverRepoName": null, "firmwareRepoId": 1000, "firmwareRepoName": "Dell Default Catalog", "id": 1000, "lastSuccessfulUpdatedTime": "2024-10-16T10:27:35.212Z", "lastmodifiedBy": "Administrator@VSPHERE.LOCAL", "name": "Baseline-1", "status": "SUCCESSFUL", "version": "1.0.0-0"}, {"baselineType": "DATACENTER_NONCLUSTER", "clusterGroups": [], "configurationRepoId": null, "configurationRepoName": null, "consoleAddress": "xx.xx.xx.xx", "consoleId": "xxxxx", "datacenter_standAloneHostsGroups": [{"associated_datacenterID": "datacenter-1001", "associated_datacenterName": "Standalone Hosts-Test-DC", "omevv_groupID": 1002}], "dateCreated": "2024-10-16T12:38:56.581Z", "dateModified": null, "description": "Baseline - 2 description", "driftJobId": 1812, "driftJobName": "BP-Baseline - 2-Host-Firmware-Drift-Detection", "driverRepoId": null, "driverRepoName": null, "firmwareRepoId": 1000, "firmwareRepoName": "Dell Default Catalog", "id": 1001, "lastSuccessfulUpdatedTime": "2024-10-16T12:41:02.641Z", "lastmodifiedBy": "Administrator@VSPHERE.LOCAL", "name": "Baseline - 2", "status": "SUCCESSFUL", "version": "1.0.0-0"}]

error_info

dictionary

Details of the HTTP Error.

Returned: on HTTP error

Sample: {"error": {"@Message.ExtendedInfo": [{"Message": "Unable to process the request because an error occurred.", "MessageArgs": [], "MessageId": "GEN1234", "RelatedProperties": [], "Resolution": "Retry the operation. If the issue persists, contact your system administrator.", "Severity": "Critical"}], "code": "Base.1.0.GeneralError", "message": "A general error has occurred. See ExtendedInfo for more information."}}

msg

string

Status of the baseline profile information for the retrieve operation.

Returned: always

Sample: "Successfully retrieved the baseline profile information."

Authors

  • Kritika Bhateja (@Kritika-Bhateja-03)