Commit Graph

520 Commits

Author SHA1 Message Date
frodovdr 12f0b831b8 add frodo entries 2019-05-28 09:33:10 +02:00
Alexander Grothe 2468270ee6 Use multiline string instead of dict 2019-05-23 17:27:47 +02:00
Alexander Grothe 9e58e0b4e4 Fix deprecation warnings for Ansible 2.8 2019-05-23 17:10:19 +02:00
Alexander Grothe 9648bae2bd Fix variable name
so it won't clash with the existing nvidia_detected variable (which is
based on PCI(e) devices.
2019-05-23 16:36:42 +02:00
Alexander Grothe 6cf02c5304 Improve check for nvidia driver
so it works also on remote machines
2019-05-23 16:27:05 +02:00
Alexander Grothe c96c146ff2 Update Manual.org 2019-05-20 21:36:57 +02:00
Alexander Grothe 5f7414c008 Fix syntax, remove superfluous if 2019-05-18 12:00:22 +02:00
Alexander Grothe 23e54c67a7 Ensure a unicode string is returned 2019-05-16 13:07:40 +02:00
Alexander Grothe c522d19c2b Set state to directoy 2019-05-16 11:57:07 +02:00
Alexander Grothe adab0137d2 Fix: Add whitespace after comments 2019-05-15 20:05:32 +02:00
Alexander Grothe 5f5dec80ea remove double shebang in mount helper script 2019-05-15 20:00:41 +02:00
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