--- - name: Erzwinge_Aktualisierung become: yes command: update-motd when: ansible_facts['os_family'] == "Ubuntu" - name: restart_sshd become: yes systemd: name: sshd state: restarted - name: systemctl_reset_failed become: yes ansible.builtin.shell: systemctl reset-failed