Run dpkg-reconfigure for libdvd-pkg package using a library module
This commit is contained in:
parent
877e651917
commit
fa25896096
@ -15,4 +15,3 @@ apt-get -y install --no-install-recommends ansible python-jmespath
|
||||
|
||||
# TODO: run ansible on local host
|
||||
ansible-playbook yavdr07.yml -b -i 'localhost_inventory' --connection=local --tags="all" --extra-vars "first_run=True"
|
||||
dpkg-reconfigure libdvd-pkg
|
||||
|
@ -12,16 +12,13 @@
|
||||
state: present
|
||||
install_recommends: no
|
||||
|
||||
- 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: reconfigure libdvd-pkg
|
||||
dpkg_reconfigure:
|
||||
pkg: libdvd-pkg
|
||||
answers:
|
||||
libdvd-pkg/post-invoke_hook-install: boolean true
|
||||
libdvd-pkg/build: boolean true
|
||||
|
||||
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user