Go to file
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
filter_plugins Add inital i18n translation support 2017-12-18 17:55:53 +01:00
group_vars Disable screen blanking by default via xorg configuration snippet 2019-02-04 17:57:34 +01:00
handlers Add handler to indicate a reboot is required 2018-08-10 08:12:49 +02:00
library Add library module for dpkg-reconfigure 2019-03-09 16:04:30 +01:00
plugins/callbacks add automatic tagging for roles 2018-01-01 23:05:40 +01:00
roles Add role for epgd 2019-03-10 20:40:01 +01:00
LICENSE Initial commit 2017-02-19 13:53:08 +01:00
Manual.html Fix syntax error in state value 2019-02-22 15:45:00 +01:00
Manual.org Add role for epgd 2019-03-10 20:40:01 +01:00
README.md Several small fixes in various files 2019-01-04 14:17:13 +01:00
ansible.cfg use ansible_managed instead of own variable ansible_managed_file 2018-01-16 13:07:58 +01:00
displays.yml Update displays.yml 2017-08-28 18:13:08 +02:00
hosts update README and hosts 2017-02-19 14:06:11 +01:00
install-yavdr-headless.sh Add install script for headless installation 2018-12-31 19:42:02 +01:00
install-yavdr.sh Run dpkg-reconfigure for libdvd-pkg package using a library module 2019-03-09 17:44:35 +01:00
localhost_inventory change group name for inventory file 2017-11-12 21:17:44 +01:00
yavdr07-headless.yml Add role for epgd 2019-03-10 20:40:01 +01:00
yavdr07.yml Add role for epgd 2019-03-10 20:40:01 +01:00

README.md

yavdr-ansible

ansible playbooks for yaVDR

What can yavdr-ansible do for me?

Ansible is an automation tool which can be used to configure systems and deploy software. yavdr-ansible uses Ansible to set up a yaVDR System on top of an Ubuntu 18.04 Server installation (see below for details) and allows the user to fully customize the installation - have a look at the Ansible documentation if you want to learn how it works.

Please note that this is still work in progress and several features of yaVDR 0.6 haven't been implemented (yet).

System Requirements and Compatiblity Notes

  • RTC must be set to UTC in order for vdr-addon-acpiwakeup to work properly
  • 32 Bit Installations are untested, but should work
  • You need an IGP/GPU with support for VDPAU or VAAPI if you want to use software output plugins for VDR like softhddevice or vaapidevice
  • xineliboutput/vdr-sxfe works with software rendering, too
  • Can be used in a VirtualBox VM (VirtualBox 5.22 works better than Version 6.0.0)

Usage:

Set up a Ubuntu Server 18.04.x Installation

NOTE: it is important to use the alternative server installer or the mini.iso, otherwise the boot splash and Xorg won't work properly.

Download yavdr-ansible

Run the following commands to download the current version of yavdr-ansible:

sudo apt-get install git
git clone https://github.com/yavdr/yavdr-ansible
cd yavdr-ansible
git checkout bionic

Customizing the Playbooks and Variables

You can choose the roles run by the playbooks yavdr07.yml or yavdr07-headless.yml.

If you want to customize the variables in group_vars/all, copy the file to host_vars/localhost before changing it. This way you can change the PPAs used and choose which extra vdr plugins and packages should be installed by default.

Run the Playbook

If you want a system with Xorg output run:

sudo -H ./install-yavdr.sh

NOTE: on systems with a nvidia card unloading the noveau driver after installing the proprietary nvidia driver can fail (in this case ansible throws an error). If this happens please reboot your system to allow the nvidia driver to be loaded and run the install script again.

If you want a headless vdr server run:

sudo -H ./install-yavdr-headless.sh

First Steps after the installation:

Add a /var/lib/vdr/channels.conf

You can use the wirbelscan-Plugin, w_scan, t2scan (especially useful for DVB-T2) or ready-to-use channellists from http://channelpedia.yavdr.com/gen/

Important: vdr.service must be stopped if you want to edit VDR configuration files: sudo stop vdr.service