2017-11-13 09:46:51 +01:00
|
|
|
- name: Reconfigure unattended upgrades with dpkg
|
|
|
|
command: '/usr/sbin/dpkg-reconfigure --frontend noninteractive unattended-upgrades'
|
2017-11-18 10:48:50 +01:00
|
|
|
|
|
|
|
- name: Trigger Udev
|
|
|
|
command: 'udevadm trigger '
|
2017-11-13 09:46:51 +01:00
|
|
|
|
2017-02-23 13:15:04 +01:00
|
|
|
- name: Restart Samba
|
|
|
|
systemd:
|
|
|
|
name: smbd.service
|
|
|
|
state: restarted
|
|
|
|
enabled: yes
|
|
|
|
#masked: no
|
|
|
|
register: samba_reload
|
2017-03-13 10:40:35 +01:00
|
|
|
|
|
|
|
- name: Restart NFS Kernel Server
|
|
|
|
systemd:
|
|
|
|
name: nfs-server.service
|
|
|
|
state: restarted
|
|
|
|
enabled: yes
|
|
|
|
#masked: no
|
|
|
|
register: nfs_reload
|
2017-03-13 15:27:21 +01:00
|
|
|
|
2018-03-25 13:09:54 +02:00
|
|
|
- name: Restart sundtek.service
|
|
|
|
systemd:
|
|
|
|
name: sundtek.service
|
|
|
|
state: restarted
|
|
|
|
enabled: yes
|
|
|
|
masked: no
|
|
|
|
|
2017-03-13 15:27:21 +01:00
|
|
|
- name: Restart VDR
|
|
|
|
systemd:
|
|
|
|
name: vdr.service
|
|
|
|
state: restarted
|
|
|
|
enabled: yes
|
|
|
|
register: vdr_restart
|
2017-04-10 13:24:40 +02:00
|
|
|
|
|
|
|
- name: Stop VDR
|
|
|
|
systemd:
|
|
|
|
name: vdr.service
|
|
|
|
state: stopped
|
|
|
|
enabled: yes
|
|
|
|
register: vdr_stop
|
|
|
|
|
|
|
|
- name: Start VDR
|
|
|
|
systemd:
|
|
|
|
name: vdr.service
|
|
|
|
state: started
|
|
|
|
enabled: yes
|
|
|
|
register: vdr_start
|
|
|
|
|
2018-04-24 09:56:29 +02:00
|
|
|
- name: Start yavdr-xorg
|
|
|
|
systemd:
|
|
|
|
daemon_reload: yes
|
|
|
|
name: 'yavdr-xorg'
|
|
|
|
enabled: yes
|
|
|
|
state: started
|
|
|
|
register: yavdr_xorg_start
|
|
|
|
|
|
|
|
|
2017-04-10 13:24:40 +02:00
|
|
|
- name: Stop xlogin
|
|
|
|
systemd:
|
|
|
|
name: xlogin@vdr.service
|
|
|
|
state: stopped
|
|
|
|
enabled: yes
|
|
|
|
register: xlogin_stop
|
|
|
|
|
2018-01-07 17:58:33 +01:00
|
|
|
- name: Start xlogin
|
2018-01-07 17:55:18 +01:00
|
|
|
systemd:
|
|
|
|
daemon_reload: yes
|
|
|
|
name: 'xlogin@{{ vdr.user }}'
|
|
|
|
enabled: yes
|
|
|
|
state: started
|
|
|
|
register: xlogin_start
|
|
|
|
|
2017-04-10 13:24:40 +02:00
|
|
|
- name: Stop x
|
|
|
|
systemd:
|
|
|
|
name: x@vt7.service
|
|
|
|
state: stopped
|
|
|
|
register: x_stop
|