Grub Bootloader

Ansible Role to configure the grub2 bootloader

Requirements

None

Role Variables

Name Type Default value Purpose Comment Role
grub_conf Boolean false true/false switch to en/disable role jammy_grub
grub_timeout int 2 Integer to grub menu timeout in seconds jammy_grub
grub_default_entry String 0 String! to select default booted menu entry (kernel & its options), starts with entry zero (0) To select a menu subentry, use: "Advanced options for Ubuntu>Ubuntu, with Linux 5.8.0-63-generic" jammy_grub
grub_cmdline_linux_default String "" String to add kernel options for all entrys without! the recovery entrys serial
text
rw init=/bin/bash
jammy_grub
grub_cmdline_linux String "" String to add kernel options for all entrys including! the recovery entrys serial
text
rw init=/bin/bash
jammy_grub
support_contact String servicedesk-linux@id.ethz.ch support contact email multirole

Dependencies

None

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: username.rolename, x: 42 }

License

BSD

Author Information

Maintainer: Niklaus (Niggi) Kappeler

Support-Contact: servicedesk-linux@id.ethz.ch