Squashed commit of the following:
commitfbad7b65aaAuthor: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:44:42 2017 +0100 remove whitespace commit7c2b1ce55dAuthor: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:30:42 2017 +0100 update handlers commitc985a33229Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:27:02 2017 +0100 run dpkg-reconfigure if necessary commit0358403073Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:24:13 2017 +0100 fix indentation and quoting commit11a7f5478cMerge:9d1eb3aca0bc80Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:21:59 2017 +0100 Merge branch 'irmp' of https://github.com/yavdr/yavdr-ansible into irmp commit9d1eb3a6e3Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:14:11 2017 +0100 use debconf module instead of shell command commitca0bc806caAuthor: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:14:11 2017 +0100 use debconf module instead of shell command commit9794d7b9efAuthor: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:03:02 2017 +0100 Update Manual.conf commit36d189e31cAuthor: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:00:53 2017 +0100 Update Manual.org, fix file permissions for role commit896516242bAuthor: Luigi Di Carmino <luigidc@gmx.de> Date: Sun Nov 12 21:31:18 2017 +0100 yavdr-hardware-irmp added
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user