This Ansible role manages GRUB configuration. It detects kernel parameters which are currently set (probably during installation). Autodetected parameters can be merged or overwritten by Ansible variables. It can also enable both Linux kernel and GRUB serial console.
Parameter autodetection with values that contain spaces is not supported.
Additionally, this role allows you to configure password protection for GRUB.
debops.grub - Manage GRUB configuration Copyright (C) 2015 Patryk Ściborek <email@example.com> Copyright (C) 2015-2018 Maciej Delmanowski <firstname.lastname@example.org> Copyright (C) 2015-2017 Robin Schneider <email@example.com> Copyright (C) 2015-2018 DebOps https://debops.org/ This Ansible role is part of DebOps. DebOps is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published by the Free Software Foundation. DebOps is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with DebOps. If not, see https://www.gnu.org/licenses/.