--- - 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