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 # TODO: run ansible on local host
ansible-playbook yavdr07.yml -b -i 'localhost_inventory' --connection=local --tags="all" --extra-vars "first_run=True" 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 state: present
install_recommends: no install_recommends: no
- name: configure package libdvd-pkg - name: reconfigure libdvd-pkg
debconf: dpkg_reconfigure:
name: 'libdvd-pkg' pkg: libdvd-pkg
question: '{{ item }}' answers:
vtype: boolean libdvd-pkg/post-invoke_hook-install: boolean true
value: true libdvd-pkg/build: boolean 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 - 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 shell: sed 's/--lock-media //' /lib/udev/rules.d/60-cdrom_id.rules > /etc/udev/rules.d/60-cdrom_id.rules