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=.*"