Compare commits
10 Commits
autoinstal
...
irmp
Author | SHA1 | Date | |
---|---|---|---|
|
fbad7b65aa | ||
|
7c2b1ce55d | ||
|
c985a33229 | ||
|
0358403073 | ||
|
11a7f5478c | ||
|
9d1eb3a6e3 | ||
|
ca0bc806ca | ||
|
9794d7b9ef | ||
|
36d189e31c | ||
|
896516242b |
18
Manual.org
18
Manual.org
@@ -183,6 +183,7 @@ The ~yavdr07.yml~ playbook sets up a fully-featured yaVDR installation:
|
||||
- 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 is detected
|
||||
- kodi
|
||||
- dvd # set up packages and a udev rule to allow kodi and other players
|
||||
# to play and eject optical media
|
||||
@@ -3250,6 +3251,20 @@ Problem: woher kommt der Treiber (AFAIK noch nicht im Kernel)? Die Firmware soll
|
||||
when: '"dvb_ttpci" in modules'
|
||||
notify: [ 'Restart VDR' ]
|
||||
#+END_SRC
|
||||
** autoinstall-hardware-irmp
|
||||
*** tasks
|
||||
#+BEGIN_SRC yaml :tangle roles/autoinstall-hardware-irmp/tasks/main.yml :padline no
|
||||
---
|
||||
# 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'
|
||||
#+END_SRC
|
||||
|
||||
**** TODO add other device ids if necessary
|
||||
|
||||
** kodi
|
||||
*** tasks
|
||||
**** Install KODI
|
||||
@@ -4116,6 +4131,9 @@ if __name__ == '__main__':
|
||||
#+END_SRC
|
||||
* Handlers
|
||||
#+BEGIN_SRC yaml :tangle handlers/main.yml :mkdirp yes
|
||||
- name: Reconfigure unattended upgrades with dpkg
|
||||
command: '/usr/sbin/dpkg-reconfigure --frontend noninteractive unattended-upgrades'
|
||||
|
||||
- name: Restart Samba
|
||||
systemd:
|
||||
name: smbd.service
|
||||
|
@@ -1,3 +1,6 @@
|
||||
- name: Reconfigure unattended upgrades with dpkg
|
||||
command: '/usr/sbin/dpkg-reconfigure --frontend noninteractive unattended-upgrades'
|
||||
|
||||
- name: Restart Samba
|
||||
systemd:
|
||||
name: smbd.service
|
||||
|
7
roles/autoinstall-hardware-irmp/tasks/main.yml
Normal file
7
roles/autoinstall-hardware-irmp/tasks/main.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
# 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'
|
@@ -1,10 +1,10 @@
|
||||
---
|
||||
# file: roles/dvd/tasks/main.yml
|
||||
|
||||
- name: preconfigure libdvd-pkg
|
||||
shell: |
|
||||
echo 'libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true' | debconf-set-selections
|
||||
echo 'libdvd-pkg libdvd-pkg/build boolean true' | debconf-set-selections
|
||||
#- name: preconfigure libdvd-pkg
|
||||
# shell: |
|
||||
# echo 'libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true' | debconf-set-selections
|
||||
# echo 'libdvd-pkg libdvd-pkg/build boolean true' | debconf-set-selections
|
||||
|
||||
- name: apt | install libdvd-pkg
|
||||
apt:
|
||||
@@ -12,7 +12,18 @@
|
||||
state: present
|
||||
install_recommends: no
|
||||
with_items:
|
||||
- libdvd-pkg
|
||||
- 'libdvd-pkg'
|
||||
|
||||
- name: configure package libdvd-pkg
|
||||
debconf:
|
||||
name: 'libdvd-pkg'
|
||||
question: '{{ item }}'
|
||||
vtype: boolean
|
||||
value: true
|
||||
with_items:
|
||||
- 'libdvd-pkg/post-invoke_hook-install'
|
||||
- 'libdvd-pkg/build boolean'
|
||||
notify: ['Reconfigure unattended upgrades with dpkg']
|
||||
|
||||
- name: change udev rule to allow KODI to eject optical disks
|
||||
shell: sed 's/--lock-media //' /lib/udev/rules.d/60-cdrom_id.rules > /etc/udev/rules.d/60-cdrom_id.rules
|
||||
|
@@ -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 is detected
|
||||
- kodi
|
||||
- dvd # set up packages and a udev rule to allow kodi and other players
|
||||
# to play and eject optical media
|
||||
|
Reference in New Issue
Block a user