New in version 2.2.
Use this module to manage order of boot devices
parameter | required | default | choices | comments |
---|---|---|---|---|
bootdev | yes |
| Set boot device to use on next reboot |
|
name | yes | Hostname or ip address of the BMC. |
||
password | yes | Password to connect to the BMC. |
||
persistent | no | If set, ask that system firmware uses this device beyond next boot. Be aware many systems do not honor this. |
||
port | no | 623 | Remote RMCP port. |
|
state | no | present |
| Whether to ensure that boot devices is desired. |
uefiboot | no | If set, request UEFI boot explicitly. Strictly speaking, the spec suggests that if not set, the system should BIOS boot and offers no "don't care" option. In practice, this flag not being set does not preclude UEFI boot on any system I've encountered. |
||
user | yes | Username to use to connect to the BMC. |
# Ensure bootdevice is HD. - ipmi_boot: name="test.testdomain.com" user="admin" password="password" bootdev="hd" # Ensure bootdevice is not Network - ipmi_boot: name="test.testdomain.com" user="admin" password="password" bootdev="network" state=absent
Common return values are documented here Common Return Values, the following are the fields unique to this module:
name | description | returned | type | sample |
---|---|---|---|---|
bootdev | The boot device name which will be used beyond next boot. | success | string | default |
uefimode | If True, system firmware will use UEFI boot explicitly beyond next boot. | success | bool | False |
persistent | If True, system firmware will use this device beyond next boot. | success | bool | False |
For more information on what this means please read Extras Modules
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.
© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/ipmi_boot_module.html