diff --git a/Manual.html b/Manual.html index 854011d..051b3b2 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. @@ -499,22 +499,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. @@ -546,8 +546,8 @@ We use a callback to generate tags for all roles autmatically:
if (( $EUID != 0 )); then @@ -564,18 +564,18 @@ apt-get update apt-get -y install --no-install-recommends ansible # TODO: run ansible on local host -ansible-playbook yavdr07.yml -b -i 'localhost_inventory' --connection=local --tags="all" --extra-vars "first_run=true" +ansible-playbook yavdr07.yml -b -i 'localhost_inventory' --connection=local --tags="all" --extra-vars "first_run=True"
The yavdr07.yml
playbook sets up a fully-featured yaVDR installation:
@@ -624,8 +624,8 @@ The yavdr07.yml
playbook sets up a fully-featured yaVDR installatio
For a headless server installation yavdr07-headless.yml
is a good choice
@@ -658,8 +658,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: @@ -673,12 +673,12 @@ This playbook can either be used to run the installation on the localhost or any
---
@@ -690,8 +690,8 @@ This playbook can either be used to run the installation on the localhost or any
branch: experimental
@@ -706,8 +706,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 @@ -733,8 +733,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 @@ -749,8 +749,8 @@ This playbook can either be used to run the installation on the localhost or any
nfs:
@@ -759,8 +759,8 @@ This playbook can either be used to run the installation on the localhost or any
samba:
@@ -770,8 +770,8 @@ This playbook can either be used to run the installation on the localhost or any
# additional packages you want to install @@ -787,8 +787,8 @@ This playbook can either be used to run the installation on the localhost or any
frontend: vdr
@@ -803,20 +803,20 @@ This playbook can either be used to run the installation on the localhost or any
---
@@ -836,19 +836,19 @@ This playbook can either be used to run the installation on the localhost or any
install nvidia-387 from ppa:graphics-drivers/ppa
---
@@ -878,15 +878,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.
@@ -899,7 +899,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. @@ -929,7 +929,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 @@ -943,7 +943,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. @@ -976,15 +976,15 @@ This section allows you to set the recording directory, the user and group that
yavdr-common executes the following tasks:
---
@@ -1000,7 +1000,7 @@ yavdr-common executes the following tasks:
This task prevents apt to automatically install all recommended dependencies for packages: @@ -1017,7 +1017,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: add PPAs
@@ -1037,7 +1037,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: use bash instead of dash
@@ -1049,10 +1049,10 @@ This task prevents apt to automatically install all recommended dependencies for
- name: disable release-upgrade notifications
@@ -1074,7 +1074,7 @@ This task prevents apt to automatically install all recommended dependencies for
-
- name: apt | install basic packages
@@ -1106,7 +1106,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: apt | install extra packages
@@ -1120,13 +1120,13 @@ This task prevents apt to automatically install all recommended dependencies for
{{ ansible_managed_file | comment('c') }} @@ -1138,25 +1138,25 @@ APT::Install-Suggests "0";
first_run: false +first_run: False
- name: get information about usb and pci hardware and loaded kernel modules @@ -1196,16 +1196,16 @@ APT::Install-Suggests "0";
--- @@ -1224,7 +1224,7 @@ APT::Install-Suggests "0";
- name: add svdrp and svdrp-disc to /etc/services @@ -1239,7 +1239,7 @@ APT::Install-Suggests "0";
- name: create vdr recdir @@ -1274,7 +1274,7 @@ APT::Install-Suggests "0";
The additional plugins to install can be set in the variable {{vdr_plugins}}
in the group variables
@@ -1292,7 +1292,7 @@ The additional plugins to install can be set in the variable {{vdr_plugins
- name: ensure vdr is stopped
@@ -1325,15 +1325,15 @@ The additional plugins to install can be set in the variable {{vdr_plugins
LIRC.Up KEY_UP @@ -1468,7 +1468,7 @@ XKeySym.Next XF86AudioNext
# Remote control key macros for VDR @@ -1494,12 +1494,12 @@ User0 @osdteletext
install_avahi: true @@ -1507,8 +1507,8 @@ User0 @osdteletext
---
@@ -1578,15 +1578,15 @@ User0 @osdteletext
---
@@ -1615,12 +1615,12 @@ User0 @osdteletext
/srv *(rw,fsid=0,sync,no_subtree_check,all_squash,anongid={{ vdr.gid }},anonuid={{ vdr.uid }})
@@ -1631,7 +1631,7 @@ User0 @osdteletext
<?xml version="1.0" standalone='no'?> @@ -1652,12 +1652,12 @@ User0 @osdteletext
lircd0_socket: /var/run/lirc/lircd0
@@ -1665,8 +1665,8 @@ User0 @osdteletext
---
@@ -1730,12 +1730,12 @@ User0 @osdteletext
{% if frontend != 'kodi' %} @@ -1746,7 +1746,7 @@ User0 @osdteletext
[Service]
@@ -1756,7 +1756,7 @@ User0 @osdteletext
#
@@ -1947,17 +1947,17 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
---
@@ -1980,8 +1980,8 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
# Use PulseAudio by default @@ -2003,12 +2003,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.
@@ -2037,21 +2037,21 @@ In order to achive a clean shutdown of the session, x@t7.service
is
first_run: false +first_run: False
---
@@ -2066,7 +2066,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2170,7 +2170,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2292,7 +2292,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2411,14 +2411,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
@@ -2434,7 +2434,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
[Unit]
@@ -2455,7 +2455,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
{{ ansible_managed_file | comment }}
@@ -2467,7 +2467,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
#!/bin/bash
@@ -2477,7 +2477,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
Section "Device"
@@ -2806,7 +2806,7 @@ EndSection
xterm*background: Black @@ -2831,7 +2831,7 @@ XTerm.vt100.font: 7x13 -
[Service]
@@ -2847,9 +2847,9 @@ XTerm.vt100.font: 7x13
[Unit] @@ -2863,7 +2863,7 @@ XTerm.vt100.font: 7x13
[Unit]
@@ -2879,7 +2879,7 @@ XTerm.vt100.font: 7x13
[Unit]
@@ -2901,7 +2901,7 @@ XTerm.vt100.font: 7x13
[Unit]
@@ -2922,7 +2922,7 @@ XTerm.vt100.font: 7x13
[Unit]
@@ -2941,7 +2941,7 @@ XTerm.vt100.font: 7x13
[Unit]
@@ -2961,7 +2961,7 @@ XTerm.vt100.font: 7x13
-
irexec.service starts irexec for the user session @@ -2991,9 +2991,9 @@ end
# forward environment variables to an environment file and the systemd user session @@ -3029,7 +3029,7 @@ systemctl --user isolate yavdr-desktop.target
<?xml version="1.0" encoding="UTF-8"?> @@ -3849,12 +3849,12 @@ systemctl --user isolate yavdr-desktop.target
---
@@ -3876,12 +3876,12 @@ systemctl --user isolate yavdr-desktop.target
---
@@ -3906,14 +3906,14 @@ systemctl --user isolate yavdr-desktop.target
{{ ansible_managed_file | comment }} @@ -3999,7 +3999,7 @@ systemctl --user isolate yavdr-desktop.target
{% for name, path in media_dirs.iteritems() %} @@ -4021,7 +4021,7 @@ systemctl --user isolate yavdr-desktop.target
include = /etc/samba/smb.conf.custom @@ -4034,15 +4034,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: @@ -4053,14 +4053,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/
@@ -4069,15 +4069,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
@@ -4133,12 +4133,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.
@@ -4613,15 +4613,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
---
@@ -4101,8 +4101,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
---
@@ -4149,8 +4149,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
7.16.2 tasks
+7.16.2 tasks
---
@@ -4193,8 +4193,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 }}
@@ -4223,15 +4223,15 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
7.17 autoinstall-satip
+7.17 autoinstall-satip
7.17.1 tasks
+7.17.1 tasks
---
@@ -4256,12 +4256,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.18 autoinstall-targavfd
+7.18 autoinstall-targavfd
7.18.1 tasks
+7.18.1 tasks
---
@@ -4277,12 +4277,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.19 autoinstall-imonlcd
+7.19 autoinstall-imonlcd
7.19.1 tasks
+7.19.1 tasks
---
@@ -4298,12 +4298,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.20 autoinstall-libcecdaemon
+7.20 autoinstall-libcecdaemon
7.20.1 tasks
+7.20.1 tasks
---
@@ -4319,12 +4319,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.21 autoinstall-pvr350
+7.21 autoinstall-pvr350
7.21.1 tasks
+7.21.1 tasks
---
@@ -4340,8 +4340,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.22 autoinstall-hauppauge-pvr
+7.22 autoinstall-hauppauge-pvr
---
@@ -4356,12 +4356,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.23 autoinstall-dvbsky-firmware
+7.23 autoinstall-dvbsky-firmware
7.23.1 defaults
+7.23.1 defaults
---
@@ -4371,8 +4371,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.23.2 tasks
+7.23.2 tasks
---
@@ -4422,15 +4422,15 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
7.24 TODO autoinstall-dvbhddevice
+7.24 TODO autoinstall-dvbhddevice
7.24.1 tasks
+7.24.1 tasks
---
@@ -4447,12 +4447,12 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
7.25 autoinstall-dvbsddevice
+7.25 autoinstall-dvbsddevice
7.25.1 tasks
+7.25.1 tasks
---
@@ -4470,12 +4470,12 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
7.26 autoinstall-hardware-irmp
+7.26 autoinstall-hardware-irmp
7.26.1 tasks
+7.26.1 tasks
7.27 kodi
+7.27 kodi
7.27.1 tasks
+7.27.1 tasks
-
+
-
-
+- import_tasks: install-kodi.yml tags=install,update,kodi:install
- import_tasks: configure-kodi.yml tags=install,update,kodi:configure
@@ -4516,7 +4516,7 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
+
---
@@ -4534,7 +4534,7 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
+
- name: create kodi.service for the user session
@@ -4583,12 +4583,12 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
7.27.2 templates
+7.27.2 templates
-
+
7.27.3 files
+7.27.3 files
+
-
+
<!-- This file contains the mapping of keys (gamepad, remote, and keyboard) to actions within XBMC -->
@@ -5249,17 +5249,17 @@ This file maps the keys defined in Lircmap.xml to actions within kodi.
7.28 dvd
+7.28 dvd
7.28.1 tasks
+7.28.1 tasks
-
-
+---
# file: roles/dvd/tasks/main.yml
@@ -5299,8 +5299,8 @@ This file maps the keys defined in Lircmap.xml to actions within kodi.
7.29 template-test
+7.29 template-test
---
@@ -5541,12 +5541,12 @@ EndSection
7.30 wakeup
+7.30 wakeup
7.30.1 defaults
+7.30.1 defaults
---
@@ -5556,8 +5556,8 @@ EndSection
7.30.2 tasks
+7.30.2 tasks
---
@@ -5578,8 +5578,8 @@ EndSection
7.30.3 templates
+7.30.3 templates
{{ ansible_managed_file | comment }}
@@ -5605,12 +5605,12 @@ ACPI_START_AHEAD=5
7.31 grub-config
+7.31 grub-config
7.31.1 default variables
+7.31.1 default variables
system:
@@ -5622,8 +5622,8 @@ ACPI_START_AHEAD=5
7.31.2 tasks
+7.31.2 tasks
---
@@ -5648,8 +5648,8 @@ ACPI_START_AHEAD=5
7.31.3 templates
+7.31.3 templates
#!/bin/sh
@@ -5672,8 +5672,8 @@ menuentry "PowerOff" {
7.31.4 handlers
+7.31.4 handlers
---
@@ -5691,15 +5691,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.
@@ -5876,8 +5876,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 = '''
@@ -6001,8 +6001,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
@@ -6358,7 +6358,7 @@ This section contains custom modules for the yaVDR Playbooks. They are used to c