- name: sshd restart systemd: name: sshd state: restarted enabled: yes daemon_reload: yes