yavdr-ansible/roles/grub/tasks/main.yml
2017-02-19 13:56:47 +01:00

16 lines
413 B
YAML

- 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' ]
- name: let the system boot quietly
lineinfile:
dest: /etc/default/grub
state: present
regexp: '^(GRUB_CMDLINE_LINUX_DEFAULT=")'
line: '\1quiet nosplash"'
backrefs: yes
notify: [ 'Update GRUB' ]