2017-06-20 15:09:15 +02:00
|
|
|
---
|
|
|
|
# file: roles/dvd/tasks/main.yml
|
|
|
|
|
2017-11-13 09:46:51 +01:00
|
|
|
#- 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
|
2017-06-20 15:09:15 +02:00
|
|
|
|
|
|
|
- name: apt | install libdvd-pkg
|
|
|
|
apt:
|
2018-10-05 17:59:22 +02:00
|
|
|
name: libdvd-pkg
|
2017-06-20 15:09:15 +02:00
|
|
|
state: present
|
|
|
|
install_recommends: no
|
2017-11-13 09:46:51 +01:00
|
|
|
|
2019-03-09 16:08:17 +01:00
|
|
|
- name: reconfigure libdvd-pkg
|
|
|
|
dpkg_reconfigure:
|
|
|
|
pkg: libdvd-pkg
|
|
|
|
answers:
|
|
|
|
libdvd-pkg/post-invoke_hook-install: boolean true
|
|
|
|
libdvd-pkg/build: boolean true
|
|
|
|
|
2017-07-15 14:28:23 +02:00
|
|
|
|
|
|
|
- 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
|
|
|
|
args:
|
|
|
|
creates: /etc/udev/rules.d/60-cdrom_id.rules
|
2018-08-25 15:57:15 +02:00
|
|
|
warn: false
|