diff --git a/Manual.org b/Manual.org index 13cdb8d..bf57427 100644 --- a/Manual.org +++ b/Manual.org @@ -4131,6 +4131,9 @@ if __name__ == '__main__': #+END_SRC * Handlers #+BEGIN_SRC yaml :tangle handlers/main.yml :mkdirp yes +- name: Reconfigure unattended upgrades with dpkg + command: '/usr/sbin/dpkg-reconfigure --frontend noninteractive unattended-upgrades' + - name: Restart Samba systemd: name: smbd.service diff --git a/roles/dvd/tasks/main.yml b/roles/dvd/tasks/main.yml index ec07f1d..ebbb462 100644 --- a/roles/dvd/tasks/main.yml +++ b/roles/dvd/tasks/main.yml @@ -23,7 +23,8 @@ 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: