10c3d12215
- use generic media_dirs including vdr recdir, loop over them to create directories, configure samba, nfs, etc. - add role to install an configure nfs-kernel-server - cleanup roles - add custom fact modules
17 lines
466 B
YAML
17 lines
466 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' ]
|
|
|
|
# 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=")'
|
|
line: '\1{{ grub.boot_options}}"'
|
|
backrefs: yes
|
|
notify: [ 'Update GRUB' ]
|