Commit Graph

509 Commits

Author SHA1 Message Date
Alexander Grothe
e2e7ec8a0c Update Manual.html 2019-05-15 19:55:51 +02:00
Alexander Grothe
252d6b65d1 Add ansible_managed hint to new templates 2019-05-15 19:54:41 +02:00
Alexander Grothe
de699b12b1 Add udiskie to yavdr-desktop role
this is used to mount external data devices automatically

Add yavdr-i18n to the default packages,
so translations using the transale filter will work properly
2019-05-15 16:33:36 +02:00
Alexander Grothe
6cff93c558 Fix typo
thanks to blau (vdr-portal.de)
2019-05-11 19:08:09 +02:00
Alexander Grothe
85de5f119e prevent failure if ubuntu-drivers autoinstall did not create a file 2019-05-11 19:07:04 +02:00
Alexander Grothe
3ebd5df3cb Cleanup 2019-05-09 11:40:51 +02:00
Alexander Grothe
a3331d82e4 Add and use own rmmod module instead of rmmod command.
This is a workaround for the modprobe module which fails to unload
modules using modprobe -r MODULE.

Using a dedicated module instead of a plain (shell) command allows to
fail only on important errors.
2019-05-09 11:14:15 +02:00
Alexander Grothe
9b16bd9971 Merge branch 'bionic' of https://github.com/yavdr/yavdr-ansible into bionic 2019-05-06 18:35:18 +02:00
Alexander Grothe
36050df5e0 Update README.md 2019-05-06 18:33:19 +02:00
Alexander Grothe
7459c79595 Cleanup unneeded variable first_run 2019-05-06 18:27:12 +02:00
Alexander Grothe
ce24cedf53 Replace nouveau driver with nvidia driver on first run
According to https://nouveau.freedesktop.org/wiki/KernelModeSetting/
it ist possible to unload the noveau and kms drivers an replace them
with the nvidia driver.

Warning: This causes the console output to freeze until
the next reboot (which shouldn't matter much because we want to output
via Xorg).

The yavdr-xorg role performs the equivalent of those command if
the module nouveau is loaded:

echo 0 > /sys/class/vtconsole/vtcon1/bind
rmmod nouveau
rmmod ttm
rmmod drm_kms_helper
rmmod drm
modprobe nvidia
systemctl start nvidia-persistenced

TODO: is the variable first_run still needed?
2019-05-06 18:23:27 +02:00
seahawk1986
f33eae5cd2
Update displays.yml 2019-04-30 18:09:29 +02:00
Alexander Grothe
9acae05e63 Rearrange order of entries 2019-04-21 13:41:40 +02:00
Alexander Grothe
f16e0cdb70 Include check for hyper-v vms 2019-04-21 13:37:53 +02:00
Alexander Grothe
10c1c662c4 Add section on how to re-run display scan to README.md 2019-04-10 10:06:08 +02:00
Alexander Grothe
e2326c5083 Don't install intel drivers and libs if a nvidia card has been detected 2019-04-08 22:36:38 +02:00
Alexander Grothe
9a35ed4a67 Don't create 20-intel.conf if nvidia_detected 2019-04-08 22:20:34 +02:00
Alexander Grothe
f4788484a9 Don't set vaapi Option for softhddevice if a nvidia card has been detected 2019-04-08 22:01:42 +02:00
Alexander Grothe
9d61e71246 Update Manual.org
TODO: make keymacros.conf created by a template
2019-04-08 22:00:34 +02:00
Alexander Grothe
186319044a Add more configuration variables and explanations to group_vars 2019-04-08 21:59:16 +02:00
Alexander Grothe
20812dc872 Add error handling for incomplete Timing information on Modelines 2019-04-07 17:43:14 +02:00
Alexander Grothe
5bb14e04e6 whitespace cleanup 2019-03-26 18:02:29 +01:00
Alexander Grothe
4973ca953f Update Manual.html 2019-03-26 14:27:22 +01:00
Alexander Grothe
8f22f9bf80 Preconfigure allowed_hosts.conf style files for plugins
set the variable vdr_allowed_hosts (must be a list of IPs/IP ranges) to preconfigure all host-
or ip-range based access options.

At the moment this applies to:
 - svdrphosts.conf
 - xineliboutput's allowed_hosts.conf (and the plugin's ARGSDIR configuration file)
 - vnsiserver's allowed_hosts.conf
 - streamdev-server's streamdevhosts.conf

It is possible to override host settings for individual services by
setting up extra lists for the following variables:
 - vdr_svdrphosts
 - xineliboutput_allowed_hosts
 - vnsiserver_allowed_hosts
 - streamdev_server_allowed_hosts
2019-03-26 14:07:17 +01:00
Alexander Grothe
d306eb118e Update Manual.html 2019-03-26 10:34:31 +01:00
Alexander Grothe
251a9b978d Improve guest addon installation for VirtualBox Guests 2019-03-26 09:17:59 +01:00
Alexander Grothe
c88f919380 remove double listed package 2019-03-25 21:13:23 +01:00
Alexander Grothe
1542c64c5a Add template for /etc/default/vdr 2019-03-25 19:39:49 +01:00
Alexander Grothe
202fb89165 Adds information on waiting for dvb adapters before starting vdr 2019-03-25 19:35:20 +01:00
Alexander Grothe
f9a61eece0 Fix path for svdrphosts.conf template expansion 2019-03-24 12:31:04 +01:00
Alexander Grothe
62473292fc Add template for svdrphosts.conf
you can define additional hosts or subnets (default is to allow access
from localhost) in svdrphosts.conf by
creating a list variable vdr_svdrphosts - e.g. in host_vars/localhost
or in group_vars/all:

vdr_svdrphosts:
   - 192.168.0.0/24

also cleanup some of the structure in Manual.org and update Manual.html
2019-03-24 12:11:52 +01:00
Alexander Grothe
8dbbfcc0c7 Add task to download channels.conf for vdr'
You can set vdr_channels_conf_url to a http(s) or ftp URL - this file
will be copied to /var/lib/vdr/channels.conf if vdr_channels_conf is
not defined and the channels.conf does not exist yet.

Also fixes a typo in task names
2019-03-18 17:12:18 +01:00
Alexander Grothe
811686490f Add task to copy a channels.conf if it doesn't exist yet
to use this task assing a path pointing to the wanted channels.conf to
the vdr_channels_conf variable, e.g. in host_vars/localhost.yml:

vdr_channels_conf: /path/to/own_config/channels.conf
2019-03-18 16:13:03 +01:00
Alexander Grothe
d86e5f2159 Update Manual.html 2019-03-12 09:38:31 +01:00
Alexander Grothe
be33234084 Add some explanations to epgd role 2019-03-12 09:36:42 +01:00
Alexander Grothe
01d95ae89b Set encoding for epgd database to utf8 2019-03-11 18:50:22 +01:00
Alexander Grothe
c706146eac Update Manual.org and Manual.html 2019-03-10 20:41:01 +01:00
Alexander Grothe
c0ad4c9c49 remove dpkg-reconfigure command from install script 2019-03-10 20:41:01 +01:00
Alexander Grothe
71e772cdca Add role for epgd
This is an initial draft. Many thanks to
minixjr (https://www.vdr-portal.de/forum/index.php?thread/131575-yavdr-ansible/&postID=1313526#post1313526).

TODOs:
 - seperate role(s) for vdr-plugin-epg2vdr and scraper2vdr
 - configure epg2vdr and scraper2vdr
 - allow to use a seperate MySQL/MariaDB server instead of a local one
2019-03-10 20:40:01 +01:00
Alexander Grothe
fa25896096 Run dpkg-reconfigure for libdvd-pkg package using a library module 2019-03-09 17:44:35 +01:00
Alexander Grothe
877e651917 Add library module for dpkg-reconfigure 2019-03-09 16:04:30 +01:00
Alexander Grothe
76ace23b5e Improve Compatibility with Python3
replace .iteritems() with .items | list in jinja2 Templates
2019-02-24 18:42:46 +01:00
Alexander Grothe
b816a03d69 Fix syntax error in state value 2019-02-22 15:45:00 +01:00
Alexander Grothe
71c2079f53 Fix video output driver for softhddevice when an intel igp is used.
it's va-api instead of va-pi - thanks to beinhart (vdr-portal.de) for noticing.
2019-02-22 13:36:09 +01:00
Alexander Grothe
08ed05594e Allow Dual Screen Configurations for intel IGPs
improve xrandr_facts.py to match drm and xrandr outputs

TODO: use drm.edid_firmware kernel boot parameter to load EDID files
  on startup
2019-02-22 00:12:02 +01:00
Alexander Grothe
c0dc185952 Adapt set-kodi-display to KODI 18 final 2019-02-04 22:18:48 +01:00
Alexander Grothe
65e2ac1e5f Disable screen blanking by default via xorg configuration snippet
Further changes:
- add ppa:yavdr/experimental-kodi for KODI 18
- add set-kodi-display script to allow switching DISPLAY in dual
screen configuration (inkompatible with KODI 17)
2019-02-04 17:57:34 +01:00
Alexander Grothe
4a2f644bb3 Update Template for sundtek.service
Always restart on failure.
2019-01-21 22:33:05 +01:00
Alexander Grothe
4bdabc7992 Update Manual.html 2019-01-19 12:27:41 +01:00
Alexander Grothe
c2962eed4c Add vdrpbd and vdr-addon-lifeguard-ng as default packages
and update rules for dvb ff devices
2019-01-19 12:23:39 +01:00