- name: Reconfigure unattended upgrades with dpkg
command: '/usr/sbin/dpkg-reconfigure --frontend noninteractive unattended-upgrades'
- name: Restart Samba
systemd:
name: smbd.service
state: restarted
enabled: yes
#masked: no
register: samba_reload
- name: Restart NFS Kernel Server
name: nfs-server.service
register: nfs_reload
- name: Restart VDR
name: vdr.service
register: vdr_restart
- name: Stop VDR
state: stopped
register: vdr_stop
- name: Start VDR
state: started
register: vdr_start
- name: Stop xlogin
name: xlogin@vdr.service
register: xlogin_stop
- name: Stop x
name: x@vt7.service
register: x_stop