diff --git a/Manual.html b/Manual.html index 008d39c..1120604 100644 --- a/Manual.html +++ b/Manual.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- +A User wants to install yaVDR without customization and relies on full automation. @@ -506,22 +506,22 @@ Several roles are used to tie everything together:
One of the major problems we faced with customized Ubuntu ISO files as installation media for prior yaVDR versions has been the limited hardware support and the time consuming process to create and update them. An interesting alternative to this approach is to enable the user to choose the installation medium himself so point releases, kernel versions and additional drivers can be chosen deliberately. After the basic setup is complete (and a working internet connection is available), a fully customizable install script completes the yaVDR installation.
This is an experimental feature which allows to set up a yaVDR installation based on a normal Ubuntu Server 16.04.x installation using Ansible. @@ -553,8 +553,8 @@ We use a callback to generate tags for all roles autmatically:
if (( $EUID != 0 )); then @@ -577,12 +577,12 @@ ansible-playbook yavdr07.yml -b -i 'localhost_inventory
The yavdr07.yml
playbook sets up a fully-featured yaVDR installation:
@@ -632,8 +632,8 @@ The yavdr07.yml
playbook sets up a fully-featured yaVDR installatio
For a headless server installation yavdr07-headless.yml
is a good choice
@@ -666,8 +666,8 @@ For a headless server installation yavdr07-headless.yml
is a good c
This playbook can either be used to run the installation on the localhost or any other PC in the network that can be accessed via ssh. Simply add the host names or IP addresses to the hosts file in the respective section: @@ -681,12 +681,12 @@ This playbook can either be used to run the installation on the localhost or any
---
@@ -698,8 +698,8 @@ This playbook can either be used to run the installation on the localhost or any
branch: experimental
@@ -714,8 +714,8 @@ This playbook can either be used to run the installation on the localhost or any
# properties of the user vdr and vdr-related options @@ -741,8 +741,8 @@ This playbook can either be used to run the installation on the localhost or any
# dictionary of directories for (shared) files. Automatically exported via NFS and Samba if those roles are enabled @@ -757,8 +757,8 @@ This playbook can either be used to run the installation on the localhost or any
nfs:
@@ -767,8 +767,8 @@ This playbook can either be used to run the installation on the localhost or any
samba:
@@ -778,8 +778,8 @@ This playbook can either be used to run the installation on the localhost or any
# additional packages you want to install @@ -795,8 +795,8 @@ This playbook can either be used to run the installation on the localhost or any
frontend: vdr
@@ -811,20 +811,20 @@ This playbook can either be used to run the installation on the localhost or any
---
@@ -844,19 +844,19 @@ This playbook can either be used to run the installation on the localhost or any
install nvidia-387 from ppa:graphics-drivers/ppa
---
@@ -886,15 +886,15 @@ install nvidia-387 from ppa:graphics-drivers/ppa
This role is used to set up a basic yaVDR installation. It creates the directories, installs the vdr and other useful packages.
This section is for reference only, please use the files in global_vars
for customizations.
@@ -907,7 +907,7 @@ This section is for reference only, please use the files in global_vars
Automatically installed drivers can be very useful, but if you know you need a certain driver, you can simply set it’s value to true. If you don’t want a driver to be installed, set it’s value to false. @@ -937,7 +937,7 @@ Automatically installed drivers can be very useful, but if you know you need a c
Add additional packages you would like to have on your installation to this list @@ -951,7 +951,7 @@ Add additional packages you would like to have on your installation to this list
This section allows you to set the recording directory, the user and group that runs the vdr and it’s home directory. @@ -984,15 +984,15 @@ This section allows you to set the recording directory, the user and group that
yavdr-common executes the following tasks:
---
@@ -1008,7 +1008,7 @@ yavdr-common executes the following tasks:
This task prevents apt to automatically install all recommended dependencies for packages: @@ -1025,7 +1025,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: add PPAs
@@ -1045,7 +1045,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: use bash instead of dash
@@ -1057,10 +1057,10 @@ This task prevents apt to automatically install all recommended dependencies for
- name: disable release-upgrade notifications
@@ -1082,7 +1082,7 @@ This task prevents apt to automatically install all recommended dependencies for
-
- name: apt | install basic packages
@@ -1114,7 +1114,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: apt | install extra packages
@@ -1128,13 +1128,13 @@ This task prevents apt to automatically install all recommended dependencies for
{{ ansible_managed_file | comment('c') }} @@ -1146,12 +1146,12 @@ APT::Install-Suggests "0";
first_run: False @@ -1159,12 +1159,12 @@ APT::Install-Suggests "0";
- name: get information about usb and pci hardware and loaded kernel modules @@ -1204,16 +1204,16 @@ APT::Install-Suggests "0";
--- @@ -1232,7 +1232,7 @@ APT::Install-Suggests "0";
- name: add svdrp and svdrp-disc to /etc/services @@ -1247,7 +1247,7 @@ APT::Install-Suggests "0";
- name: create vdr recdir @@ -1282,7 +1282,7 @@ APT::Install-Suggests "0";
The additional plugins to install can be set in the variable {{vdr_plugins}}
in the group variables
@@ -1300,7 +1300,7 @@ The additional plugins to install can be set in the variable {{vdr_plugins
- name: ensure vdr is stopped
@@ -1333,15 +1333,15 @@ The additional plugins to install can be set in the variable {{vdr_plugins
LIRC.Up KEY_UP @@ -1476,7 +1476,7 @@ XKeySym.Next XF86AudioNext
# Remote control key macros for VDR @@ -1502,12 +1502,12 @@ User0 @osdteletext
install_avahi: true @@ -1515,8 +1515,8 @@ User0 @osdteletext
---
@@ -1586,15 +1586,15 @@ User0 @osdteletext
---
@@ -1623,12 +1623,12 @@ User0 @osdteletext
/srv *(rw,fsid=0,sync,no_subtree_check,all_squash,anongid={{ vdr.gid }},anonuid={{ vdr.uid }})
@@ -1639,7 +1639,7 @@ User0 @osdteletext
<?xml version="1.0" standalone='no'?> @@ -1660,12 +1660,12 @@ User0 @osdteletext
lircd0_socket: /var/run/lirc/lircd0
@@ -1673,8 +1673,8 @@ User0 @osdteletext
---
@@ -1738,12 +1738,12 @@ User0 @osdteletext
{% if frontend != 'kodi' %} @@ -1754,7 +1754,7 @@ User0 @osdteletext
[Service]
@@ -1764,7 +1764,7 @@ User0 @osdteletext
#
@@ -1955,17 +1955,17 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
---
@@ -1988,8 +1988,8 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
# Use PulseAudio by default @@ -2011,12 +2011,12 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
The X-Server is started by using the two systemd units xlogin@.service
and x@.service
provided by the package xlogin. The former is enabled (and started) for the vdr user - which results (using the default settings for the user vdr with the uid 666) in the activation of xlogin@vdr.service
when reaching the graphical.target.
@@ -2045,8 +2045,8 @@ In order to achive a clean shutdown of the session, x@t7.service
is
first_run: False
@@ -2054,12 +2054,12 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2074,7 +2074,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
--- @@ -2162,7 +2162,8 @@ In order to achive a clean shutdown of the session,x@t7.service
is - name: command | write keyboard configuration to /etc/X11/xorg.conf.d/00-keyboard.conf command: write-x11-keyboard-config - creates: /etc/X11/xorg.conf.d/00-keyboard.conf + args: + creates: /etc/X11/xorg.conf.d/00-keyboard.conf # NOTE: write-x11-keyboard-config is in the xlogin package # Ubuntu's systemd is patched, so it does not create the file automatically @@ -2178,7 +2179,7 @@ In order to achive a clean shutdown of the session,x@t7.service
is
---
@@ -2300,7 +2301,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2419,14 +2420,14 @@ In order to achive a clean shutdown of the session, x@t7.service
is
# file: roles/yavdr-xorg/templates/systemd/system/x-verbose@.service.j2
@@ -2442,7 +2443,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
[Unit]
@@ -2463,7 +2464,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
{{ ansible_managed_file | comment }}
@@ -2475,7 +2476,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
#!/bin/bash
@@ -2485,7 +2486,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
Section "Device"
@@ -2814,7 +2815,7 @@ EndSection
xterm*background: Black @@ -2839,7 +2840,7 @@ XTerm.vt100.font: 7x13 -
[Service]
@@ -2855,9 +2856,9 @@ XTerm.vt100.font: 7x13
[Unit] @@ -2871,7 +2872,7 @@ XTerm.vt100.font: 7x13
[Unit]
@@ -2887,7 +2888,7 @@ XTerm.vt100.font: 7x13
[Unit]
@@ -2909,7 +2910,7 @@ XTerm.vt100.font: 7x13
[Unit]
@@ -2930,7 +2931,7 @@ XTerm.vt100.font: 7x13
[Unit]
@@ -2949,7 +2950,7 @@ XTerm.vt100.font: 7x13
[Unit]
@@ -2969,7 +2970,7 @@ XTerm.vt100.font: 7x13
-
irexec.service starts irexec for the user session @@ -2999,9 +3000,9 @@ end
# forward environment variables to an environment file and the systemd user session @@ -3037,7 +3038,7 @@ systemctl --user isolate yavdr-desktop.target
<?xml version="1.0" encoding="UTF-8"?> @@ -3857,12 +3858,12 @@ systemctl --user isolate yavdr-desktop.target
---
@@ -3884,12 +3885,12 @@ systemctl --user isolate yavdr-desktop.target
---
@@ -3914,14 +3915,14 @@ systemctl --user isolate yavdr-desktop.target
{{ ansible_managed_file | comment }} @@ -4007,7 +4008,7 @@ systemctl --user isolate yavdr-desktop.target
{% for name, path in media_dirs.iteritems() %} @@ -4029,7 +4030,7 @@ systemctl --user isolate yavdr-desktop.target
include = /etc/samba/smb.conf.custom @@ -4042,15 +4043,15 @@ systemctl --user isolate yavdr-desktop.target
It would be nice to be able to detect if it is suitable to install those drivers:
Vendor-IDs: @@ -4061,14 +4062,14 @@ Vendor-IDs:
from http://www.vdr-portal.de/board18-vdr-hardware/board102-dvb-karten/120817-treiber-der-cine-ctv6-ddbridge-ci-in-den-kernel-integrieren/
@@ -4077,15 +4078,15 @@ from
-
The tool ubuntu-drivers is used to install the matching driver version for nvidia graphics cards, virtualbox guest additions and Intel and AMD microcode updates.
This role installs the guest additions for virtualbox guests on Ubuntu 16.04
@@ -4141,12 +4142,12 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
If a Sat>IP Server responds to a discovery request, the package vdr-plugin-satip is installed.
Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware sollte in yavdr-firmware stecken
This systemd unit for the user session starts (and stops) kodi.
@@ -4710,15 +4711,15 @@ This systemd unit for the user session starts (and stops) kodi.
Those configuration files provide a preconfiguration for kodi which overrides the system wide configuration
This file maps the keys defined in Lircmap.xml to actions within kodi.
This section contains custom modules for the yaVDR Playbooks. They are used to collect facts about the system and configure applications and daemons.
7.14 autoinstall-ubuntu-drivers
+7.14 autoinstall-ubuntu-drivers
7.14.1 tasks
+7.14.1 tasks
---
@@ -4109,8 +4110,8 @@ The tool ubuntu-drivers is used to install the matching driver version for nvidi
7.15 autoinstall-virtualbox-guest
+7.15 autoinstall-virtualbox-guest
7.16 autoinstall-atric-usb
+7.16 autoinstall-atric-usb
7.16.1 dependencies
+7.16.1 dependencies
---
@@ -4157,8 +4158,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
7.16.2 tasks
+7.16.2 tasks
---
@@ -4201,8 +4202,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
7.16.3 templates
+7.16.3 templates
{{ ansible_managed_file | comment }}
@@ -4231,12 +4232,12 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
7.17 autoinstall-yausbir
+7.17 autoinstall-yausbir
7.17.1 dependencies
+7.17.1 dependencies
---
@@ -4247,8 +4248,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
7.17.2 tasks
+7.17.2 tasks
---
@@ -4291,8 +4292,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
7.17.3 templates
+7.17.3 templates
{{ ansible_managed_file | comment }}
@@ -4320,15 +4321,15 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
7.18 autoinstall-satip
+7.18 autoinstall-satip
7.18.1 tasks
+7.18.1 tasks
---
@@ -4353,12 +4354,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.19 autoinstall-targavfd
+7.19 autoinstall-targavfd
7.19.1 tasks
+7.19.1 tasks
---
@@ -4374,12 +4375,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.20 autoinstall-imonlcd
+7.20 autoinstall-imonlcd
7.20.1 tasks
+7.20.1 tasks
---
@@ -4395,12 +4396,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.21 autoinstall-libcecdaemon
+7.21 autoinstall-libcecdaemon
7.21.1 tasks
+7.21.1 tasks
---
@@ -4416,12 +4417,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.22 autoinstall-pvr350
+7.22 autoinstall-pvr350
7.22.1 tasks
+7.22.1 tasks
---
@@ -4437,8 +4438,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.23 autoinstall-hauppauge-pvr
+7.23 autoinstall-hauppauge-pvr
---
@@ -4453,12 +4454,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.24 autoinstall-dvbsky-firmware
+7.24 autoinstall-dvbsky-firmware
7.24.1 defaults
+7.24.1 defaults
---
@@ -4468,8 +4469,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.24.2 tasks
+7.24.2 tasks
---
@@ -4519,15 +4520,15 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.25 TODO autoinstall-dvbhddevice
+7.25 TODO autoinstall-dvbhddevice
7.25.1 tasks
+7.25.1 tasks
---
@@ -4544,12 +4545,12 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
7.26 autoinstall-dvbsddevice
+7.26 autoinstall-dvbsddevice
7.26.1 tasks
+7.26.1 tasks
---
@@ -4567,12 +4568,12 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
7.27 autoinstall-hardware-irmp
+7.27 autoinstall-hardware-irmp
7.27.1 tasks
+7.27.1 tasks
7.28 kodi
+7.28 kodi
7.28.1 tasks
+7.28.1 tasks
-
+
-
-
+- import_tasks: install-kodi.yml tags=install,update,kodi:install
- import_tasks: configure-kodi.yml tags=install,update,kodi:configure
@@ -4613,7 +4614,7 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
+
---
@@ -4631,7 +4632,7 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
+
- name: create kodi.service for the user session
@@ -4680,12 +4681,12 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
7.28.2 templates
+7.28.2 templates
-
+
7.28.3 files
+7.28.3 files
+
-
+
<!-- This file contains the mapping of keys (gamepad, remote, and keyboard) to actions within XBMC -->
@@ -5346,17 +5347,17 @@ This file maps the keys defined in Lircmap.xml to actions within kodi.
7.29 dvd
+7.29 dvd
7.29.1 tasks
+7.29.1 tasks
-
-
+---
# file: roles/dvd/tasks/main.yml
@@ -5396,8 +5397,8 @@ This file maps the keys defined in Lircmap.xml to actions within kodi.
7.30 template-test
+7.30 template-test
---
@@ -5638,12 +5639,12 @@ EndSection
7.31 wakeup
+7.31 wakeup
7.31.1 defaults
+7.31.1 defaults
---
@@ -5653,8 +5654,8 @@ EndSection
7.31.2 tasks
+7.31.2 tasks
---
@@ -5675,8 +5676,8 @@ EndSection
7.31.3 templates
+7.31.3 templates
{{ ansible_managed_file | comment }}
@@ -5702,12 +5703,12 @@ ACPI_START_AHEAD=5
7.32 grub-config
+7.32 grub-config
7.32.1 default variables
+7.32.1 default variables
system:
@@ -5719,8 +5720,8 @@ ACPI_START_AHEAD=5
7.32.2 tasks
+7.32.2 tasks
---
@@ -5745,8 +5746,8 @@ ACPI_START_AHEAD=5
7.32.3 templates
+7.32.3 templates
#!/bin/sh
@@ -5769,8 +5770,8 @@ menuentry "PowerOff" {
7.32.4 handlers
+7.32.4 handlers
---
@@ -5788,15 +5789,15 @@ menuentry "PowerOff" {
8 Modules
+8 Modules
8.1 hardware_facts.py
+8.1 hardware_facts.py
# This Module collects the vendor- and device ids for USB- and PCI(e)-devices and currently loaded kernel modules.
@@ -5973,8 +5974,8 @@ This section contains custom modules for the yaVDR Playbooks. They are used to c
8.2 satip_facts.py
+8.2 satip_facts.py
DOCUMENTATION = '''
@@ -6098,8 +6099,8 @@ This section contains custom modules for the yaVDR Playbooks. They are used to c
8.3 xrandr_facts.py
+8.3 xrandr_facts.py
[ ]
support multiple screens (-d :0.0 .. :0.n)9 Handlers
+9 Handlers
- name: Reconfigure unattended upgrades with dpkg
@@ -6455,7 +6456,7 @@ This section contains custom modules for the yaVDR Playbooks. They are used to c