From 5ac82245c80119aa9322b8e84a6bf8f1aeaf105e Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Thu, 30 Sep 2021 18:24:19 +0000 Subject: [PATCH] Fix grub options --- deploy.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/deploy.yml b/deploy.yml index 7e25ab1..1dd637a 100644 --- a/deploy.yml +++ b/deploy.yml @@ -45,12 +45,5 @@ - name: hide grub menu during boot lineinfile: path: /etc/default/grub - line: "{{ item }}" - with_items: - - GRUB_HIDDEN_TIMEOUT=1 - - GRUB_HIDDEN_TIMEOUT_QUIET=true - - name: remove grub default timeout - lineinfile: - path: /etc/default/grub - regexp: "^GRUB_TIMEOUT=" - state: absent + line: GRUB_TIMEOUT_STYLE=hidden + regexp: "^GRUB_TIMEOUT_STYLE=.*"