run dpkg-reconfigure if necessary
This commit is contained in:
parent
0358403073
commit
c985a33229
@ -4131,6 +4131,9 @@ if __name__ == '__main__':
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Handlers
|
* Handlers
|
||||||
#+BEGIN_SRC yaml :tangle handlers/main.yml :mkdirp yes
|
#+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
|
- name: Restart Samba
|
||||||
systemd:
|
systemd:
|
||||||
name: smbd.service
|
name: smbd.service
|
||||||
|
@ -23,7 +23,8 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- 'libdvd-pkg/post-invoke_hook-install'
|
- 'libdvd-pkg/post-invoke_hook-install'
|
||||||
- 'libdvd-pkg/build boolean'
|
- '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
|
||||||
args:
|
args:
|
||||||
|
Loading…
Reference in New Issue
Block a user