dellemc.openmanage.idrac_bios_registry_info module – Query iDRAC BIOS Attribute Registry and validate configurations
Note
This module is part of the dellemc.openmanage collection (version 11.0.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.idrac_bios_registry_info.
New in dellemc.openmanage 10.0.0
Synopsis
Query the iDRAC Redfish BIOS Attribute Registry endpoint to retrieve complete BIOS attribute metadata.
Validate proposed BIOS configurations against the registry with actionable error messages.
Filter attributes by name pattern, OEM/standard classification, and category.
Requirements
The below requirements are needed on the host that executes this module.
python >= 3.9.6
Parameters
Parameter |
Comments |
|---|---|
Pattern to filter BIOS attributes by name (supports glob patterns). |
|
Filter attributes by source type. Choices:
|
|
Dictionary of attribute names and proposed values to validate. |
|
The Privacy Enhanced Mail (PEM) file that contains a CA certificate to be used for the validation. |
|
Filter attributes by category (e.g., ‘Processor’, ‘Memory’, ‘Security’). |
|
SHA-256 fingerprint of the expected TLS certificate (hex digest, with or without colons). When supplied together with |
|
If Choices:
|
|
Force refresh of BIOS attribute registry from iDRAC, bypassing cache. Choices:
|
|
iDRAC IP Address. |
|
iDRAC user password. If the password is not provided, then the environment variable Example: export IDRAC_PASSWORD=password |
|
iDRAC port. Default: |
|
iDRAC username. If the username is not provided, then the environment variable Example: export IDRAC_USERNAME=username |
|
The socket level timeout in seconds. Default: |
|
Validate proposed BIOS configuration against the registry. Choices:
|
|
If Configure Prior to collection version Choices:
|
Notes
Note
Run this module from a system that has direct access to Dell iDRAC.
This module supports both IPv4 and IPv6 address for idrac_ip.
Minimum firmware requirement: iDRAC9 >= 7.10.90.00 or iDRAC10 >= 1.20.50.50.
Examples
---
- name: Query all BIOS attributes
dellemc.openmanage.idrac_bios_registry_info:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
ca_path: "/path/to/ca_cert.pem"
- name: Query BIOS attributes with filtering
dellemc.openmanage.idrac_bios_registry_info:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
attribute_name: "Proc*"
attribute_source: "oem"
category: "Processor"
- name: Validate BIOS configuration
dellemc.openmanage.idrac_bios_registry_info:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
validate: true
attributes:
ProcVirtualization: "Enabled"
MemTest: "Disabled"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Total number of attributes in the registry. Returned: success Sample: |
|
List of BIOS attributes with complete metadata. Returned: success Sample: |
|
Details of the HTTP Error. Returned: on HTTP error Sample: |
|
iDRAC firmware version. Returned: success Sample: |
|
PowerEdge server generation (14G-16G for iDRAC9, 17G+ for iDRAC10). Returned: success Sample: |
|
iDRAC model. Returned: success Sample: |
|
Count of invalid attributes when validate=true. Returned: when validate=true Sample: |
|
Language of the registry. Returned: success Sample: |
|
Overall status message. Returned: always Sample: |
|
Entity that owns the registry. Returned: success Sample: |
|
Version of the BIOS attribute registry. Returned: success Sample: |
|
Overall validation status when validate=true. Returned: when validate=true Sample: |
|
Count of valid attributes when validate=true. Returned: when validate=true Sample: |
|
Validation results for each attribute when validate=true. Returned: when validate=true Sample: |