--- - name: Restart sshd ansible.builtin.systemd_service: name: ssh state: restarted enabled: true daemon_reload: true