yavdr-ansible/handlers/main.yml

84 lines
1.5 KiB
YAML
Raw Normal View History

Squashed commit of the following: commit fbad7b65aa70cc8132dada7494c8f31df9fd31bb Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:44:42 2017 +0100 remove whitespace commit 7c2b1ce55d86d733dda7ef7551453ec0c15aa748 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:30:42 2017 +0100 update handlers commit c985a332291fadd6077e876965de13df4d3c426d Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:27:02 2017 +0100 run dpkg-reconfigure if necessary commit 03584030735c54b9ff6eb55e6a108b3e08828be6 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:24:13 2017 +0100 fix indentation and quoting commit 11a7f5478c3cb401075e34b4dca443ec15b1a19e Merge: 9d1eb3a ca0bc80 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:21:59 2017 +0100 Merge branch 'irmp' of https://github.com/yavdr/yavdr-ansible into irmp commit 9d1eb3a6e35a229bd5bde21df11aee93d52ff104 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:14:11 2017 +0100 use debconf module instead of shell command commit ca0bc806ca2da76d7ef96cb56afe4afe2265d820 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:14:11 2017 +0100 use debconf module instead of shell command commit 9794d7b9efc16884a17d1f7312b9aeaa536829cf Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:03:02 2017 +0100 Update Manual.conf commit 36d189e31cb716bf51c3094bdcbab4c6c808bb92 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:00:53 2017 +0100 Update Manual.org, fix file permissions for role commit 896516242be65023732ee0727d81247c8f77487e Author: Luigi Di Carmino <luigidc@gmx.de> Date: Sun Nov 12 21:31:18 2017 +0100 yavdr-hardware-irmp added
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 '
Squashed commit of the following: commit fbad7b65aa70cc8132dada7494c8f31df9fd31bb Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:44:42 2017 +0100 remove whitespace commit 7c2b1ce55d86d733dda7ef7551453ec0c15aa748 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:30:42 2017 +0100 update handlers commit c985a332291fadd6077e876965de13df4d3c426d Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:27:02 2017 +0100 run dpkg-reconfigure if necessary commit 03584030735c54b9ff6eb55e6a108b3e08828be6 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:24:13 2017 +0100 fix indentation and quoting commit 11a7f5478c3cb401075e34b4dca443ec15b1a19e Merge: 9d1eb3a ca0bc80 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:21:59 2017 +0100 Merge branch 'irmp' of https://github.com/yavdr/yavdr-ansible into irmp commit 9d1eb3a6e35a229bd5bde21df11aee93d52ff104 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:14:11 2017 +0100 use debconf module instead of shell command commit ca0bc806ca2da76d7ef96cb56afe4afe2265d820 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:14:11 2017 +0100 use debconf module instead of shell command commit 9794d7b9efc16884a17d1f7312b9aeaa536829cf Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:03:02 2017 +0100 Update Manual.conf commit 36d189e31cb716bf51c3094bdcbab4c6c808bb92 Author: Alexander Grothe <seahawk1986@gmx.de> Date: Mon Nov 13 09:00:53 2017 +0100 Update Manual.org, fix file permissions for role commit 896516242be65023732ee0727d81247c8f77487e Author: Luigi Di Carmino <luigidc@gmx.de> Date: Sun Nov 12 21:31:18 2017 +0100 yavdr-hardware-irmp added
2017-11-13 09:46:51 +01:00
- name: Restart Samba
systemd:
name: smbd.service
state: restarted
enabled: yes
#masked: no
register: samba_reload
- 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 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
- 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
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
- name: reboot required
debug:
msg: PLEASE REBOOT YOUR SYSTEM.