homeserver/roles/mgrote.motd/handlers/main.yml
mg dbaab6ea73 Überarbeitung: motd (#328)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#328
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2022-02-18 18:38:09 +01:00

10 lines
161 B
YAML

---
- name: force update
become: yes
command: update-motd
- name: restart_sshd
become: yes
systemd:
name: sshd
state: restarted