dellemc.openmanage.idrac_bios – Configure the BIOS attributes
Note
This plugin is part of the dellemc.openmanage collection (version 3.6.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
.
To use it in a playbook, specify: dellemc.openmanage.idrac_bios
.
New in version 2.1.0: of dellemc.openmanage
Requirements
The below requirements are needed on the host that executes this module.
omsdk
python >= 2.7.5
Parameters
Parameter |
Comments |
---|---|
Dictionary of BIOS attributes and value pair. Attributes should be part of the Redfish Dell BIOS Attribute Registry. Use https://%5C%20:emphasis:%60idrac%5C_ip%60%5C%20/redfish/v1/Systems/System.Embedded.1/Bios to view the Redfish URI. If deprecated options are provided and the same is repeated in attributes then values in attributes will take precedence. attributes is mutually exclusive with boot_sources. |
|
(deprecated)Sets boot mode to BIOS or UEFI. This option is deprecated, and will be removed in later version. Use attributes for configuring the BIOS attributes. boot_mode is mutually exclusive with boot_sources. Choices:
|
|
(deprecated)Allows to set the boot sequence in BIOS boot mode or Secure UEFI boot mode by rearranging the boot entries in Fully Qualified Device Descriptor (FQDD). TThis option is deprecated, and will be removed in later version. Use attributes for configuring the BIOS attributes. boot_sequence is mutually exclusive with boot_sources. |
|
List of boot devices to set the boot sources settings. boot_sources is mutually exclusive with attributes, boot_sequence, onetime_boot_mode, secure_boot_mode, nvme_mode, boot_mode. |
|
iDRAC IP Address. |
|
iDRAC user password. |
|
iDRAC port. Default: 443 |
|
iDRAC username. |
|
(deprecated)Configures the NVME mode in the iDRAC 9 based PowerEdge Servers. This option is deprecated, and will be removed in later version. Use attributes for configuring the BIOS attributes. nvme_mode is mutually exclusive with boot_sources. Choices:
|
|
(deprecated)Configures the one time boot mode setting. This option is deprecated, and will be removed in later version. Use attributes for configuring the BIOS attributes. onetime_boot_mode is mutually exclusive with boot_sources. Choices:
|
|
(deprecated)Configures how the BIOS uses the Secure Boot Policy Objects in iDRAC 9 based PowerEdge Servers. This option is deprecated, and will be removed in later version. Use attributes for configuring the BIOS attributes. secure_boot_mode is mutually exclusive with boot_sources. Choices:
|
|
Local mount path of the network share with read-write permission for ansible user. This option is mandatory for network shares. |
|
Network share or a local path. |
|
Network share user password. This option is mandatory for CIFS share. |
|
Network share user name. Use the format ‘user@domain’ or ‘domainuser’ if user is part of a domain. This option is mandatory for CIFS share. |
Notes
Note
This module requires ‘Administrator’ privilege for idrac_user.
Run this module from a system that has direct access to DellEMC iDRAC.
This module supports
check_mode
.
Examples
---
- name: Configure generic attributes of the BIOS
dellemc.openmanage.idrac_bios:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
attributes:
BootMode : "Bios"
OneTimeBootMode: "Enabled"
BootSeqRetry: "Enabled"
- name: Configure PXE generic attributes
dellemc.openmanage.idrac_bios:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
attributes:
PxeDev1EnDis: "Enabled"
PxeDev1Protocol: "IPV4"
PxeDev1VlanEnDis: "Enabled"
PxeDev1VlanId: 1
PxeDev1Interface: "NIC.Embedded.1-1-1"
PxeDev1VlanPriority: 2
- name: Configure boot sources
dellemc.openmanage.idrac_bios:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
boot_sources:
- Name : "NIC.Integrated.1-2-3"
Enabled : true
Index : 0
- name: Configure multiple boot sources
dellemc.openmanage.idrac_bios:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
boot_sources:
- Name : "NIC.Integrated.1-1-1"
Enabled : true
Index : 0
- Name : "NIC.Integrated.2-2-2"
Enabled : true
Index : 1
- Name : "NIC.Integrated.3-3-3"
Enabled : true
Index : 2
- name: Configure boot sources - Enabling
dellemc.openmanage.idrac_bios:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
boot_sources:
- Name : "NIC.Integrated.1-1-1"
Enabled : true
- name: Configure boot sources - Index
dellemc.openmanage.idrac_bios:
idrac_ip: "192.168.0.1"
idrac_user: "user_name"
idrac_password: "user_password"
boot_sources:
- Name : "NIC.Integrated.1-1-1"
Index : 0
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
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.”}} |
|
Configures the BIOS configuration attributes. Returned: success Sample: {“@odata.context”: “/redfish/v1/$metadata#DellJob.DellJob”, “@odata.id”: “/redfish/v1/Managers/iDRAC.Embedded.1/Jobs/JID_873888162305”, “@odata.type”: “#DellJob.v1_0_0.DellJob”, “CompletionTime”: “2020-04-20T18:50:20”, “Description”: “Job Instance”, “EndTime”: null, “Id”: “JID_873888162305”, “JobState”: “Completed”, “JobType”: “ImportConfiguration”, “Message”: “Successfully imported and applied Server Configuration Profile.”, “MessageArgs”: [], “MessageId”: “SYS053”, “Name”: “Import Configuration”, “PercentComplete”: 100, “StartTime”: “TIME_NOW”, “Status”: “Success”, “TargetSettingsURI”: null, “retval”: true} |
Authors
Felix Stephen (@felixs88)
Anooja Vardhineni (@anooja-vardhineni)