---
- name: Restart sshd
  systemd:
    name: ssh.service
    state: restarted
...