dellemc.openmanage.ome_configuration_compliance_info module – Device compliance report for devices managed in OpenManage Enterprise
Note
This module is part of the dellemc.openmanage collection (version 8.5.0).
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_configuration_compliance_info
.
New in dellemc.openmanage 3.2.0
Synopsis
This module allows the generation of a compliance report of a specific or all of devices in a configuration compliance baseline.
Requirements
The below requirements are needed on the host that executes this module.
python >= 3.8.6
Parameters
Parameter |
Comments |
---|---|
The name of the created baseline. A compliance report is generated even when the template is not associated with the baseline. |
|
The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation. |
|
The ID of the target device which is associated with the baseline. |
|
The device service tag of the target device associated with the baseline. device_service_tag is mutually exclusive with device_id. |
|
OpenManage Enterprise IP address or hostname. |
|
OpenManage Enterprise password. |
|
OpenManage Enterprise HTTPS port. Default: |
|
The socket level timeout in seconds. Default: |
|
OpenManage Enterprise username. |
|
If Configure Prior to collection version Choices:
|
Notes
Note
Run this module from a system that has direct access to Dell OpenManage Enterprise.
This module supports
check_mode
.
Examples
---
- name: Retrieve the compliance report of all of the devices in the specified configuration compliance baseline.
dellemc.openmanage.ome_configuration_compliance_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
ca_path: "/path/to/ca_cert.pem"
baseline: baseline_name
- name: Retrieve the compliance report for a specific device associated with the baseline using the device ID.
dellemc.openmanage.ome_configuration_compliance_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
ca_path: "/path/to/ca_cert.pem"
baseline: baseline_name
device_id: 10001
- name: Retrieve the compliance report for a specific device associated with the baseline using the device service tag.
dellemc.openmanage.ome_configuration_compliance_info:
hostname: "192.168.0.1"
username: "username"
password: "password"
ca_path: "/path/to/ca_cert.pem"
baseline: baseline_name
device_service_tag: 2HFGH3
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Returns the compliance report information. Returned: success Sample: |
|
Details of the HTTP Error. Returned: on HTTP error Sample: |
|
Over all compliance report status. Returned: on error Sample: |