Skip to content

bushvin/ansible-module-grub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

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
  • Test on any non-RHEL-type system

About

Ansible module to manage grub configuration of linux machines

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages