dellemc.openmanage.ome_firmware_baseline_compliance_info module – Retrieves baseline compliance details on OpenManage Enterprise
Note
This module is part of the dellemc.openmanage collection (version 5.5.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.ome_firmware_baseline_compliance_info
.
New in dellemc.openmanage 2.0.0
Synopsis
This module allows to retrieve firmware compliance for a list of devices, or against a specified baseline on OpenManage Enterprise.
Requirements
The below requirements are needed on the host that executes this module.
python >= 3.8.6
Parameters
Parameter |
Comments |
---|---|
Name of the baseline, for which the device compliance report is generated. This option is mandatory for generating baseline based device compliance report. baseline_name is mutually exclusive with device_ids, device_service_tags and device_group_names. |
|
The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation. |
|
A list of group names for device based compliance report. Either device_ids, device_service_tags or device_group_names is required to generate device based compliance report. device_group_names is mutually exclusive with device_ids, device_service_tags and baseline_name. Devices without reports are ignored. |
|
A list of unique identifier for device based compliance report. Either device_ids, device_service_tags or device_group_names is required to generate device based compliance report. device_ids is mutually exclusive with device_service_tags, device_group_names and baseline_name. Devices without reports are ignored. |
|
A list of service tags for device based compliance report. Either device_ids, device_service_tags or device_group_names is required to generate device based compliance report. device_service_tags is mutually exclusive with device_ids, device_group_names and baseline_name. Devices without reports are ignored. |
|
OpenManage Enterprise or OpenManage Enterprise Modular IP address or hostname. |
|
OpenManage Enterprise or OpenManage Enterprise Modular password. |
|
OpenManage Enterprise or OpenManage Enterprise Modular HTTPS port. Default: |
|
The socket level timeout in seconds. Default: |
|
OpenManage Enterprise or OpenManage Enterprise Modular username. |
|
If Configure Prior to collection version Choices:
|
Notes
Note
Run this module from a system that has direct access to DellEMC OpenManage Enterprise.
This module supports
check_mode
.
Examples
---
- name: Retrieves device based compliance report for specified device IDs
dellemc.openmanage.ome_firmware_baseline_compliance_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
ca_path: "/path/to/ca_cert.pem"
device_ids:
- 11111
- 22222
- name: Retrieves device based compliance report for specified service Tags
dellemc.openmanage.ome_firmware_baseline_compliance_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
ca_path: "/path/to/ca_cert.pem"
device_service_tags:
- MXL1234
- MXL4567
- name: Retrieves device based compliance report for specified group names
dellemc.openmanage.ome_firmware_baseline_compliance_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
ca_path: "/path/to/ca_cert.pem"
device_group_names:
- "group1"
- "group2"
- name: Retrieves device compliance report for a specified baseline
dellemc.openmanage.ome_firmware_baseline_compliance_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
ca_path: "/path/to/ca_cert.pem"
baseline_name: "baseline_name"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Details of the baseline compliance report. Returned: success Sample: |
|
Details of http error. Returned: on http error Sample: |
|
Overall baseline compliance report status. Returned: on error Sample: |