yavdr-ansible/handlers/main.yml
Alexander Grothe 5c5826db9a Squashed commit of the following:
commit fbad7b65aa
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:44:42 2017 +0100

    remove whitespace

commit 7c2b1ce55d
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:30:42 2017 +0100

    update handlers

commit c985a33229
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:27:02 2017 +0100

    run dpkg-reconfigure if necessary

commit 0358403073
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:24:13 2017 +0100

    fix indentation and quoting

commit 11a7f5478c
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 9d1eb3a6e3
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:14:11 2017 +0100

    use debconf module instead of shell command

commit ca0bc806ca
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:14:11 2017 +0100

    use debconf module instead of shell command

commit 9794d7b9ef
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:03:02 2017 +0100

    Update Manual.conf

commit 36d189e31c
Author: Alexander Grothe <seahawk1986@gmx.de>
Date:   Mon Nov 13 09:00:53 2017 +0100

    Update Manual.org, fix file permissions for role

commit 896516242b
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

53 lines
970 B
YAML

- 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
systemd:
name: nfs-server.service
state: restarted
enabled: yes
#masked: no
register: nfs_reload
- name: Restart VDR
systemd:
name: vdr.service
state: restarted
enabled: yes
register: vdr_restart
- 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