Add role to install nfs-server, cleanup roles and configuration
- 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
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
system:
|
||||
shutdown: poweroff
|
||||
grub:
|
||||
timeout: 0
|
||||
boot_options: quiet nosplash
|
||||
grub:
|
||||
timeout: 0
|
||||
boot_options: quiet nosplash
|
||||
|
@@ -11,6 +11,6 @@
|
||||
dest: /etc/default/grub
|
||||
state: present
|
||||
regexp: '^(GRUB_CMDLINE_LINUX_DEFAULT=")'
|
||||
line: '\1{{ system.grub.boot_options}}"'
|
||||
line: '\1{{ grub.boot_options}}"'
|
||||
backrefs: yes
|
||||
notify: [ 'Update GRUB' ]
|
||||
|
@@ -10,7 +10,7 @@ menuentry "PowerOff" {
|
||||
{% endif %}
|
||||
|
||||
if [ "${recordfail}" = 1 ]; then
|
||||
set timeout={{ 3 if system.grub.timeout < 3 else system.grub.timeout }}
|
||||
set timeout={{ 3 if grub.timeout < 3 else grub.timeout }}
|
||||
else
|
||||
set timeout={{ system.grub.timeout if system.grub.timeout is defined else 0 }}
|
||||
set timeout={{ grub.timeout if grub.timeout is defined else 0 }}
|
||||
fi
|
||||
|
Reference in New Issue
Block a user