71e772cdca
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
45 lines
2.6 KiB
YAML
45 lines
2.6 KiB
YAML
---
|
|
# file: yavdr07.yml
|
|
# this playbook sets up a complete yaVDR 0.7 installation
|
|
|
|
- name: set up yaVDR
|
|
hosts: all
|
|
become: true
|
|
roles:
|
|
- yavdr-common # install and configure the basic system
|
|
- collect-facts # query system facts
|
|
- autoinstall-ubuntu-drivers # use ubuntu-drivers to install proprietary dirvers
|
|
# (e.g. nvidia, virtualbox)
|
|
# - nvidia-experimental # install very recent nvidia dirver from ppa:graphics-drivers/ppa
|
|
- vdr # install vdr and related packages
|
|
- autoinstall-virtualbox-guest
|
|
- yavdr-network # enable network client capabilities
|
|
- samba-install # install samba server
|
|
- samba-config # configure samba server
|
|
- nfs-server # install nfs server
|
|
- pulseaudio # install pulseaudio
|
|
- yavdr-xorg # graphical session
|
|
- yavdr-remote # remote configuration files, services and scripts
|
|
- yavdr-desktop # openbox session with yavdr frontend script
|
|
- autoinstall-satip # install vdr-plugin-satip if a Sat>IP server has been found
|
|
- autoinstall-targavfd # install vdr-plugin-targavfd if display is connected
|
|
- autoinstall-imonlcd # install vdr-plugin-imonlcd if a matchind display is connected
|
|
- autoinstall-pvr350 # install vdr-plugin-pvr350 if a matching card is detected
|
|
- autoinstall-hauppauge-pvr # install vdr-plugin-pvrinput if a matching card is found
|
|
- autoinstall-dvbsddevice # install vdr-plugin-dvbsddevice if a matching card is detected
|
|
- autoinstall-hardware-irmp # install yavdr-hardware-irmp if a matching usb device is detected
|
|
- autoinstall-atric-usb # preconfigure lircd for Atric IR-WakeupUSB receiver
|
|
- autoinstall-yausbir # preconfigure lircd for yaUsbIR receiver
|
|
- autoinstall-dvbsky-firmware # download and install required firmware files for dvbsky cards
|
|
- autoinstall-firmware # download and install firmware files for dvb devices
|
|
#- serial-ir # configure a serial port for "homebrew" ir receivers (e.g. Atric V5)
|
|
#- epgd # install vdr-epg-daemon (and vdr-plugin-epg2vdr)
|
|
- kodi
|
|
- dvd # set up packages and a udev rule to allow kodi and other players
|
|
# to play and eject optical media
|
|
- wakeup # set up wakeup methods for rtc etc.
|
|
- grub-config # configure grub
|
|
|
|
handlers:
|
|
- import_tasks: handlers/main.yml
|