Run dpkg-reconfigure for libdvd-pkg package using a library module

This commit is contained in:
Alexander Grothe 2019-03-09 16:08:17 +01:00
parent 877e651917
commit fa25896096
3 changed files with 9 additions and 13 deletions

View File

@ -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

View File

@ -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

View File

@ -11,8 +11,8 @@
- name: install nvidia-396 and other required packages
apt:
name:
-nvidia-396
-nvidia-settings
- nvidia-396
- nvidia-settings
state: present
install_recommends: no
tags: