--- - name: restart ssh systemd_service: name: ssh state: restarted daemon_reload: true