diff --git a/Manual.html b/Manual.html index 7c92836..0d7eace 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. @@ -526,22 +526,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 by 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. @@ -576,8 +576,8 @@ We use a callback to generate tags for all roles autmatically:
if (( $EUID != 0 )); then @@ -598,12 +598,12 @@ ansible-playbook yavdr07.yml -b -i 'localhost_inventory
The yavdr07.yml
playbook sets up a fully-featured yaVDR installation:
@@ -654,8 +654,8 @@ The yavdr07.yml
playbook sets up a fully-featured yaVDR installatio
For a headless server installation yavdr07-headless.yml
is a good choice
@@ -688,8 +688,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: @@ -703,12 +703,12 @@ This playbook can either be used to run the installation on the localhost or any
---
@@ -726,8 +726,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 @@ -754,8 +754,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 @@ -770,8 +770,8 @@ This playbook can either be used to run the installation on the localhost or any
nfs:
@@ -780,8 +780,8 @@ This playbook can either be used to run the installation on the localhost or any
samba:
@@ -791,8 +791,8 @@ This playbook can either be used to run the installation on the localhost or any
# additional packages you want to install @@ -808,8 +808,8 @@ This playbook can either be used to run the installation on the localhost or any
frontend: vdr
@@ -824,20 +824,20 @@ This playbook can either be used to run the installation on the localhost or any
---
@@ -857,19 +857,19 @@ This playbook can either be used to run the installation on the localhost or any
install nvidia-387 from ppa:graphics-drivers/ppa
---
@@ -899,15 +899,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.
@@ -920,7 +920,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. @@ -950,7 +950,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 @@ -964,7 +964,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. @@ -997,15 +997,15 @@ This section allows you to set the recording directory, the user and group that
yavdr-common executes the following tasks:
---
@@ -1021,7 +1021,7 @@ yavdr-common executes the following tasks:
This task prevents apt to automatically install all recommended dependencies for packages: @@ -1038,7 +1038,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: add PPAs
@@ -1058,7 +1058,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: use bash instead of dash
@@ -1070,10 +1070,10 @@ This task prevents apt to automatically install all recommended dependencies for
- name: disable release-upgrade notifications
@@ -1095,7 +1095,7 @@ This task prevents apt to automatically install all recommended dependencies for
-
- name: apt | install basic packages
@@ -1127,7 +1127,7 @@ This task prevents apt to automatically install all recommended dependencies for
- name: apt | install extra packages
@@ -1141,13 +1141,13 @@ This task prevents apt to automatically install all recommended dependencies for
{{ ansible_managed | comment('c') }} @@ -1159,12 +1159,12 @@ APT::Install-Suggests "0";
first_run: False @@ -1172,12 +1172,12 @@ APT::Install-Suggests "0";
- name: get information about usb and pci hardware and loaded kernel modules @@ -1217,16 +1217,16 @@ APT::Install-Suggests "0";
--- @@ -1245,7 +1245,7 @@ APT::Install-Suggests "0";
- name: add svdrp and svdrp-disc to /etc/services @@ -1260,7 +1260,7 @@ APT::Install-Suggests "0";
- name: create vdr recdir @@ -1295,7 +1295,7 @@ APT::Install-Suggests "0";
The additional plugins to install can be set in the variable {{vdr_plugins}}
in the group variables
@@ -1313,7 +1313,7 @@ The additional plugins to install can be set in the variable {{vdr_plugins
- name: ensure vdr is stopped
@@ -1344,7 +1344,7 @@ The additional plugins to install can be set in the variable {{vdr_plugins
- name: create directory for vdr.service systemd drop-in files
@@ -1365,8 +1365,8 @@ The additional plugins to install can be set in the variable {{vdr_plugins
Start after network-online.target @@ -1378,12 +1378,12 @@ Start after network-online.target
LIRC.Up KEY_UP @@ -1518,7 +1518,7 @@ XKeySym.Next XF86AudioNext
# Remote control key macros for VDR @@ -1544,12 +1544,12 @@ User0 @osdteletext
install_avahi: true @@ -1557,8 +1557,8 @@ User0 @osdteletext
---
@@ -1628,15 +1628,15 @@ User0 @osdteletext
---
@@ -1665,12 +1665,12 @@ User0 @osdteletext
/srv *(rw,fsid=0,sync,no_subtree_check,all_squash,anongid={{ vdr.gid }},anonuid={{ vdr.uid }})
@@ -1681,7 +1681,7 @@ User0 @osdteletext
<?xml version="1.0" standalone='no'?> @@ -1702,12 +1702,12 @@ User0 @osdteletext
lircd0_socket: /var/run/lirc/lircd0
@@ -1715,8 +1715,8 @@ User0 @osdteletext
---
@@ -1789,12 +1789,12 @@ User0 @osdteletext
{% if frontend != 'kodi' %} @@ -1805,7 +1805,7 @@ User0 @osdteletext
[Service]
@@ -1815,7 +1815,7 @@ User0 @osdteletext
#
@@ -2006,17 +2006,17 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
---
@@ -2039,8 +2039,8 @@ ati_remote rc-medion-x10-digitainer /lib/udev/rc_keymaps/rc-medion-x10-digi
# Use PulseAudio by default @@ -2062,12 +2062,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. To simplify starting and stopping the X-server and the desktop session a yavdr-xorg.service
is provided by the package yavdr-xorg
, which depends on the two units mentioned before.
@@ -2096,8 +2096,8 @@ In order to achive a clean shutdown of the session, x@t7.service
is
first_run: False
@@ -2105,12 +2105,12 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2123,7 +2123,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2244,7 +2244,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
---
@@ -2403,14 +2403,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
@@ -2426,7 +2426,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
[Unit]
@@ -2452,7 +2452,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
{{ ansible_managed | comment }}
@@ -2464,7 +2464,7 @@ In order to achive a clean shutdown of the session, x@t7.service
is
{{ ansible_managed | comment }} @@ -2478,7 +2478,7 @@ EndSection
Section "Device"
@@ -2800,7 +2800,7 @@ EndSection
-
Set environment variables for system locale and user session on startup @@ -2818,16 +2818,16 @@ Set environment variables for system locale and user session on startup
---
@@ -2968,14 +2968,14 @@ Set environment variables for system locale and user session on startup
xterm*background: Black @@ -2998,7 +2998,7 @@ XTerm.vt100.font: 7x13
#!/bin/bash @@ -3010,9 +3010,9 @@ XTerm.vt100.font: 7x13 -
# forward environment variables to an environment file and the systemd user session @@ -3048,7 +3048,7 @@ systemctl --user isolate yavdr-desktop.target
<?xml version="1.0" encoding="UTF-8"?> @@ -3871,9 +3871,9 @@ systemctl --user isolate yavdr-desktop.target -
[Unit] @@ -3886,7 +3886,7 @@ systemctl --user isolate yavdr-desktop.target
[Unit]
@@ -3902,7 +3902,7 @@ systemctl --user isolate yavdr-desktop.target
[Unit]
@@ -3923,7 +3923,7 @@ systemctl --user isolate yavdr-desktop.target
[Unit]
@@ -3946,7 +3946,7 @@ systemctl --user isolate yavdr-desktop.target
[Unit]
@@ -3965,7 +3965,7 @@ systemctl --user isolate yavdr-desktop.target
[Unit]
@@ -3984,7 +3984,7 @@ systemctl --user isolate yavdr-desktop.target
-
irexec.service starts irexec for the user session @@ -4018,12 +4018,12 @@ end
---
@@ -4045,12 +4045,12 @@ end
---
@@ -4075,14 +4075,14 @@ end
{{ ansible_managed | comment }} @@ -4168,7 +4168,7 @@ end
{% for name, path in media_dirs.iteritems() %} @@ -4190,7 +4190,7 @@ end
include = /etc/samba/smb.conf.custom @@ -4203,15 +4203,15 @@ end
It would be nice to be able to detect if it is suitable to install those drivers:
Vendor-IDs: @@ -4222,8 +4222,8 @@ Vendor-IDs:
https://github.com/s-moch/linux-saa716x - kann man den relevanten Teil als dkms-Paket bauen? @@ -4231,15 +4231,15 @@ Vendor-IDs:
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.
---
@@ -4262,8 +4262,8 @@ The tool ubuntu-drivers is used to install the matching driver version for nvidi
This role installs the guest additions for virtualbox guests on Ubuntu 16.04 @@ -4314,12 +4314,12 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
---
@@ -4331,8 +4331,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
---
@@ -4375,8 +4375,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
{{ ansible_managed | comment }} @@ -4405,12 +4405,12 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
---
@@ -4421,8 +4421,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
---
@@ -4465,8 +4465,8 @@ This role installs the guest additions for virtualbox guests on Ubuntu 16.04
{{ ansible_managed | comment }} @@ -4494,15 +4494,15 @@ 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.
---
@@ -4527,12 +4527,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -4548,12 +4548,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -4569,12 +4569,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -4590,12 +4590,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -4611,8 +4611,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -4627,12 +4627,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -4643,8 +4643,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -4669,12 +4669,12 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -4685,8 +4685,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -4696,8 +4696,8 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
---
@@ -4747,15 +4747,15 @@ If a Sat>IP Server responds to a discovery request, the package vdr-plugin-sa
Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware sollte in yavdr-firmware stecken
---
@@ -4766,8 +4766,8 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
---
@@ -4784,12 +4784,12 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
---
@@ -4800,8 +4800,8 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
---
@@ -4819,12 +4819,12 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
---
@@ -4835,8 +4835,8 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
---
@@ -4852,19 +4852,19 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
- import_tasks: install-kodi.yml tags=install,update,kodi:install - import_tasks: configure-kodi.yml tags=install,update,kodi:configure @@ -4872,7 +4872,7 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
---
@@ -4890,7 +4890,7 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
- name: create kodi.service for the user session
@@ -4939,12 +4939,12 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
This systemd unit for the user session starts (and stops) kodi. @@ -4969,15 +4969,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.
<?xml version="1.0" encoding="UTF-8"?> @@ -5607,17 +5607,17 @@ This file maps the keys defined in Lircmap.xml to actions within kodi.
--- # file: roles/dvd/tasks/main.yml @@ -5657,15 +5657,15 @@ This file maps the keys defined in Lircmap.xml to actions within kodi.
---
@@ -5714,8 +5714,8 @@ This file maps the keys defined in Lircmap.xml to actions within kodi.
# ----- GLOBAL SECTION ----- @@ -5821,8 +5821,8 @@ This file maps the keys defined in Lircmap.xml to actions within kodi.
---
@@ -6063,12 +6063,12 @@ EndSection
---
@@ -6078,8 +6078,8 @@ EndSection
---
@@ -6100,8 +6100,8 @@ EndSection
{{ ansible_managed | comment }} @@ -6127,12 +6127,12 @@ ACPI_START_AHEAD=5
system:
@@ -6144,8 +6144,8 @@ ACPI_START_AHEAD=5
---
@@ -6170,8 +6170,8 @@ ACPI_START_AHEAD=5
#!/bin/sh @@ -6194,8 +6194,8 @@ menuentry "PowerOff" {
--- @@ -6213,15 +6213,15 @@ menuentry "PowerOff" {
This section contains custom modules for the yaVDR Playbooks. They are used to collect facts about the system and configure applications and daemons.
# This Module collects the vendor- and device ids for USB- and PCI(e)-devices and currently loaded kernel modules. @@ -6399,8 +6399,8 @@ This section contains custom modules for the yaVDR Playbooks. They are used to c
DOCUMENTATION = ''' @@ -6524,8 +6524,8 @@ This section contains custom modules for the yaVDR Playbooks. They are used to c
[ ]
support multiple screens (-d :0.0 .. :0.n)- name: Reconfigure unattended upgrades with dpkg
@@ -6897,7 +6902,7 @@ This section contains custom modules for the yaVDR Playbooks. They are used to c