diff options
Diffstat (limited to 'roles/core/base/tasks/Debian.yml')
-rw-r--r-- | roles/core/base/tasks/Debian.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/core/base/tasks/Debian.yml b/roles/core/base/tasks/Debian.yml index 8b64b741..14a30daa 100644 --- a/roles/core/base/tasks/Debian.yml +++ b/roles/core/base/tasks/Debian.yml @@ -115,6 +115,18 @@ line: 'GRUB_CMDLINE_LINUX="{{ install.kernel_cmdline | join(" ") }}"' notify: update grub + ## see https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1814403 +- name: lower grub recordfail timeout for ubuntu/efi systems + when: + - ansible_distribution == "Ubuntu" + - install.efi | default(false) + lineinfile: + path: /etc/default/grub + regexp: '^#?GRUB_RECORDFAIL_TIMEOUT=' + line: 'GRUB_RECORDFAIL_TIMEOUT="3"' + insertafter: '^#?GRUB_TIMEOUT=' + notify: update grub + - name: apply stability fix/workaround for machines using intel NIC when: base_intel_nic_stability_fix import_tasks: intel-nic.yml |