2017-06-21 12:46:51 +02: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
|
|
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
- name: Stop xlogin
|
|
|
|
systemd:
|
|
|
|
name: xlogin@vdr.service
|
|
|
|
state: stopped
|
|
|
|
enabled: yes
|
|
|
|
register: xlogin_stop
|
|
|
|
|
|
|
|
- name: Stop x
|
|
|
|
systemd:
|
|
|
|
name: x@vt7.service
|
|
|
|
state: stopped
|
|
|
|
register: x_stop
|