+grub role

This commit is contained in:
Josh Lay 2025-07-27 09:48:17 -05:00
parent 5ffe2b9be1
commit cfa9a8420a
Signed by: jlay
SSH key fingerprint: SHA256:RwEMoWwXniQX1sqHfSD+3z+LKU/TOkv3i1qsy75vfec
7 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,9 @@
---
- name: Ensure 'GRUB_RECORDFAIL_TIMEOUT'
ansible.builtin.lineinfile:
path: "{{ grub_cfgs[ansible_os_family | lower] }}"
regexp: '^GRUB_RECORDFAIL_TIMEOUT'
line: 'GRUB_RECORDFAIL_TIMEOUT=5'
become: true
notify: update_grubcfg

View file

@ -0,0 +1,6 @@
---
# tasks file for grub
#
- name: Include tasks by OS family
ansible.builtin.include_tasks:
file: "{{ ansible_os_family | lower }}.yml"

View file

@ -0,0 +1 @@
---