From fc2a33da97aadadc6ea9c6691935db42c90c291d Mon Sep 17 00:00:00 2001 From: Luigi Di Carmino Date: Sun, 12 Nov 2017 21:31:18 +0100 Subject: [PATCH 1/3] yavdr-hardware-irmp added --- roles/autoinstall-hardware-irmp/tasks/main.yml | 8 ++++++++ yavdr07.yml | 1 + 2 files changed, 9 insertions(+) create mode 100755 roles/autoinstall-hardware-irmp/tasks/main.yml mode change 100644 => 100755 yavdr07.yml diff --git a/roles/autoinstall-hardware-irmp/tasks/main.yml b/roles/autoinstall-hardware-irmp/tasks/main.yml new file mode 100755 index 0000000..03ef67d --- /dev/null +++ b/roles/autoinstall-hardware-irmp/tasks/main.yml @@ -0,0 +1,8 @@ +--- +# file roles/autoinstall-hardware-irmp/tasks/main.yml + +- name: apt | install yavdr-hardware-irmp if connected + apt: + name: yavdr-hardware-irmp + when: '"1209:4444" in usb' + notify: [ 'Restart VDR' ] diff --git a/yavdr07.yml b/yavdr07.yml old mode 100644 new mode 100755 index 0ecb558..cd3f0ea --- a/yavdr07.yml +++ b/yavdr07.yml @@ -24,6 +24,7 @@ - autoinstall-pvr350 # install vdr-plugin-pgvr350 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 was detected - kodi - dvd # set up packages and a udev rule to allow kodi and other players # to play and eject optical media From 98513bba11e03029f0a42badfb8b6de9925645f1 Mon Sep 17 00:00:00 2001 From: LuigiDC Date: Mon, 13 Nov 2017 22:23:53 +0100 Subject: [PATCH 2/3] Aktualisieren --- install-yavdr.sh | 0 library/hardware_facts.py | 0 library/satip_facts.py | 0 library/xrandr_facts.py | 0 roles/autoinstall-hardware-irmp/tasks/main.yml | 0 roles/yavdr-xorg/templates/openbox/autostart.j2 | 0 yavdr07.yml | 0 7 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 install-yavdr.sh mode change 100755 => 100644 library/hardware_facts.py mode change 100755 => 100644 library/satip_facts.py mode change 100755 => 100644 library/xrandr_facts.py mode change 100755 => 100644 roles/autoinstall-hardware-irmp/tasks/main.yml mode change 100755 => 100644 roles/yavdr-xorg/templates/openbox/autostart.j2 mode change 100755 => 100644 yavdr07.yml diff --git a/install-yavdr.sh b/install-yavdr.sh old mode 100755 new mode 100644 diff --git a/library/hardware_facts.py b/library/hardware_facts.py old mode 100755 new mode 100644 diff --git a/library/satip_facts.py b/library/satip_facts.py old mode 100755 new mode 100644 diff --git a/library/xrandr_facts.py b/library/xrandr_facts.py old mode 100755 new mode 100644 diff --git a/roles/autoinstall-hardware-irmp/tasks/main.yml b/roles/autoinstall-hardware-irmp/tasks/main.yml old mode 100755 new mode 100644 diff --git a/roles/yavdr-xorg/templates/openbox/autostart.j2 b/roles/yavdr-xorg/templates/openbox/autostart.j2 old mode 100755 new mode 100644 diff --git a/yavdr07.yml b/yavdr07.yml old mode 100755 new mode 100644 From 21e51509818c42e447db93db1d31187f72a875c7 Mon Sep 17 00:00:00 2001 From: LuigiDC Date: Tue, 14 Nov 2017 12:31:23 +0100 Subject: [PATCH 3/3] Add 2 deleted files (test) --- .../autoinstall-hardware-irmp/tasks/main.yml | 8 +++++ yavdr07.yml | 36 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 roles/autoinstall-hardware-irmp/tasks/main.yml create mode 100644 yavdr07.yml diff --git a/roles/autoinstall-hardware-irmp/tasks/main.yml b/roles/autoinstall-hardware-irmp/tasks/main.yml new file mode 100644 index 0000000..03ef67d --- /dev/null +++ b/roles/autoinstall-hardware-irmp/tasks/main.yml @@ -0,0 +1,8 @@ +--- +# file roles/autoinstall-hardware-irmp/tasks/main.yml + +- name: apt | install yavdr-hardware-irmp if connected + apt: + name: yavdr-hardware-irmp + when: '"1209:4444" in usb' + notify: [ 'Restart VDR' ] diff --git a/yavdr07.yml b/yavdr07.yml new file mode 100644 index 0000000..cd3f0ea --- /dev/null +++ b/yavdr07.yml @@ -0,0 +1,36 @@ +--- +# 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 + - autoinstall-ubuntu-drivers # use ubuntu-drivers to install proprietary dirvers + # (e.g. nvidia, virtualbox) + # - nvidia-387 # install very recent nvidia-387 from ppa:graphics-drivers/ppa + - vdr # install vdr and related packages + - 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 + - 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-pgvr350 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 was detected + - kodi + - dvd # set up packages and a udev rule to allow kodi and other players + # to play and eject optical media + - grub-config # configure grub + tags: + - always + + handlers: + - import_tasks: handlers/main.yml