setup_grub role – Configure grub

Note

This role is part of the ufrmath.computer_labs collection (version 1.0.0).

To install it use: ansible-galaxy collection install git+https://github.com/guillod/computer_labs.

To use it in a playbook, specify: ufrmath.computer_labs.setup_grub.

Entry point main – Configure grub

Synopsis

  • Disable grub recovery mode;

  • Encrypt password and add hash to /etc/grub.d/50_password;

  • Allow only first grub entry in /etc/grub.d/10_linux without password.

Parameters

Parameter

Comments

grub_password

string

optional GRUB password