homeserver/roles/mgrote.motd/handlers/main.yml
2020-08-18 11:57:53 +02:00

10 lines
217 B
YAML

- name: Erzwinge_Aktualisierung
become: yes
command: update-motd
when: ansible_facts['os_family'] == "Ubuntu"
- name: restart_sshd
become: yes
systemd:
name: sshd
state: restarted