Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 531 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 531 Bytes

ansible-module-grub

A module to modify grub configurations (grub 1 & 2)

Examples

Add/Change root=/dev/sda1 to the kernel line(s)

grub: koption=root kvalue=/dev/sda1

Remove the quiet kernel option

grub: state=absent koption=quiet

Set the default boot stanza to 0

grub: default=0

Change the grub wait timeout to 15

grub: timeout=15

TODO

  • module.supports_check_mode = True
  • Test on grub 0.97 & previous on RHEL-like systems
  • backup change for entire task sequence, not single tasks