New in version 2.7.
Parameter | Choices/Defaults | Comments |
---|---|---|
baseuri
-
/ required
|
Base URI of OOB controller
|
|
bios_attribute_name
-
added in 2.8 |
Default: "null"
|
name of BIOS attribute to update
|
bios_attribute_value
-
added in 2.8 |
Default: "null"
|
value of BIOS attribute to update
|
category
-
/ required
|
Category to execute on OOB controller
|
|
command
-
/ required
|
List of commands to execute on OOB controller
|
|
password
-
/ required
|
Password for authentication with OOB controller
|
|
timeout
integer
added in 2.8 |
Default: 10
|
Timeout in seconds for URL requests to OOB controller
|
username
-
/ required
added in 2.8 |
User for authentication with OOB controller
|
- name: Set BootMode to UEFI
redfish_config:
category: Systems
command: SetBiosAttributes
bios_attribute_name: BootMode
bios_attribute_value: Uefi
baseuri: "{{ baseuri }}"
username: "{{ username }}"
password: "{{ password }}"
- name: Set BootMode to Legacy BIOS
redfish_config:
category: Systems
command: SetBiosAttributes
bios_attribute_name: BootMode
bios_attribute_value: Bios
baseuri: "{{ baseuri }}"
username: "{{ username }}"
password: "{{ password }}"
- name: Enable PXE Boot for NIC1
redfish_config:
category: Systems
command: SetBiosAttributes
bios_attribute_name: PxeDev1EnDis
bios_attribute_value: Enabled
baseuri: "{{ baseuri }}"
username: "{{ username }}"
password: "{{ password }}"
- name: Set BIOS default settings with a timeout of 20 seconds
redfish_config:
category: Systems
command: SetBiosDefaultSettings
baseuri: "{{ baseuri }}"
username: "{{ username }}"
password: "{{ password }}"
timeout: 20
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
msg
string
|
always |
Message with action result or error description
Sample:
Action was successful
|
Hint
If you notice any issues in this documentation you can edit this document to improve it.