ansible / ansible.builtin / v2.4.3.0-1 / module / ipmi_boot Management of order of boot devices | "added in version" 2.2 of ansible.builtin" Authors: Bulat Gaifullin (gaifullinbf@gmail.com) preview | supported by communityansible.builtin.ipmi_boot (v2.4.3.0-1) — module
pip
Install with pip install ansible==2.4.3.0.post1
Use this module to manage order of boot devices
# 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
name: description: - Hostname or ip address of the BMC. required: true port: default: 623 description: - Remote RMCP port. required: false user: description: - Username to use to connect to the BMC. required: true state: choices: - present -- Request system turn on - absent -- Request system turn on default: present description: - Whether to ensure that boot devices is desired. bootdev: choices: - network -- Request network boot - hd -- Boot from hard drive - safe -- Boot from hard drive, requesting 'safe mode' - optical -- boot from CD/DVD/BD drive - setup -- Boot into setup utility - default -- remove any IPMI directed boot device request description: - Set boot device to use on next reboot required: true password: default: null description: - Password to connect to the BMC. required: true uefiboot: default: false description: - 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. required: false type: bool persistent: default: false description: - If set, ask that system firmware uses this device beyond next boot. Be aware many systems do not honor this. required: false type: bool
bootdev: description: The boot device name which will be used beyond next boot. returned: success sample: default type: string persistent: description: If True, system firmware will use this device beyond next boot. returned: success sample: false type: bool uefimode: description: If True, system firmware will use UEFI boot explicitly beyond next boot. returned: success sample: false type: bool