yavdr-ansible/roles/dvd/tasks/main.yml

32 lines
913 B
YAML
Raw Normal View History

---
# file: roles/dvd/tasks/main.yml
Squashed commit of the following: commit fbad7b65aa70cc8132dada7494c8f31df9fd31bb Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:44:42 2017 +0100 remove whitespace commit 7c2b1ce55d86d733dda7ef7551453ec0c15aa748 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:30:42 2017 +0100 update handlers commit c985a332291fadd6077e876965de13df4d3c426d Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:27:02 2017 +0100 run dpkg-reconfigure if necessary commit 03584030735c54b9ff6eb55e6a108b3e08828be6 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:24:13 2017 +0100 fix indentation and quoting commit 11a7f5478c3cb401075e34b4dca443ec15b1a19e Merge: 9d1eb3a ca0bc80 Author: 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 commit 9d1eb3a6e35a229bd5bde21df11aee93d52ff104 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:14:11 2017 +0100 use debconf module instead of shell command commit ca0bc806ca2da76d7ef96cb56afe4afe2265d820 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:14:11 2017 +0100 use debconf module instead of shell command commit 9794d7b9efc16884a17d1f7312b9aeaa536829cf Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:03:02 2017 +0100 Update Manual.conf commit 36d189e31cb716bf51c3094bdcbab4c6c808bb92 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:00:53 2017 +0100 Update Manual.org, fix file permissions for role commit 896516242be65023732ee0727d81247c8f77487e Author: Luigi Di Carmino <luigidc@gmx.de> Date: Sun Nov 12 21:31:18 2017 +0100 yavdr-hardware-irmp added
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
- name: apt | install libdvd-pkg
apt:
name: '{{ item }}'
state: present
install_recommends: no
with_items:
Squashed commit of the following: commit fbad7b65aa70cc8132dada7494c8f31df9fd31bb Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:44:42 2017 +0100 remove whitespace commit 7c2b1ce55d86d733dda7ef7551453ec0c15aa748 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:30:42 2017 +0100 update handlers commit c985a332291fadd6077e876965de13df4d3c426d Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:27:02 2017 +0100 run dpkg-reconfigure if necessary commit 03584030735c54b9ff6eb55e6a108b3e08828be6 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:24:13 2017 +0100 fix indentation and quoting commit 11a7f5478c3cb401075e34b4dca443ec15b1a19e Merge: 9d1eb3a ca0bc80 Author: 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 commit 9d1eb3a6e35a229bd5bde21df11aee93d52ff104 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:14:11 2017 +0100 use debconf module instead of shell command commit ca0bc806ca2da76d7ef96cb56afe4afe2265d820 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:14:11 2017 +0100 use debconf module instead of shell command commit 9794d7b9efc16884a17d1f7312b9aeaa536829cf Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:03:02 2017 +0100 Update Manual.conf commit 36d189e31cb716bf51c3094bdcbab4c6c808bb92 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:00:53 2017 +0100 Update Manual.org, fix file permissions for role commit 896516242be65023732ee0727d81247c8f77487e Author: Luigi Di Carmino <luigidc@gmx.de> Date: Sun Nov 12 21:31:18 2017 +0100 yavdr-hardware-irmp added
2017-11-13 09:46:51 +01:00
- '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
args:
creates: /etc/udev/rules.d/60-cdrom_id.rules