New in version 2.7.
Parameter | Choices/Defaults | Comments |
---|---|---|
baseuri string / required | Base URI of OOB controller | |
bios_attribute_name string added in 2.8 | Default: "null" | name of BIOS attribute to update |
bios_attribute_value raw added in 2.8 | Default: "null" | value of BIOS attribute to update |
category string / required | Category to execute on OOB controller | |
command list / required | List of commands to execute on OOB controller | |
password string / 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 string / 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.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/modules/redfish_config_module.html