2017-06-21 12:46:51 +02:00
|
|
|
---
|
|
|
|
|
2017-02-23 13:15:04 +01:00
|
|
|
- name: custom grub configuration for timeout and reboot halt
|
|
|
|
template:
|
|
|
|
src: templates/50_custom.j2
|
|
|
|
dest: /etc/grub.d/50_custom
|
|
|
|
mode: '0775'
|
|
|
|
notify: [ 'Update GRUB' ]
|
|
|
|
|
|
|
|
# TODO: add special case if plymouth is used
|
|
|
|
- name: let the system boot quietly
|
|
|
|
lineinfile:
|
|
|
|
dest: /etc/default/grub
|
|
|
|
state: present
|
|
|
|
regexp: '^(GRUB_CMDLINE_LINUX_DEFAULT=")'
|
2017-03-13 10:40:35 +01:00
|
|
|
line: '\1{{ grub.boot_options}}"'
|
2017-02-23 13:15:04 +01:00
|
|
|
backrefs: yes
|
|
|
|
notify: [ 'Update GRUB' ]
|