--- - name: check and reload sshd command: "{{ sshd_binary }} -t" notify: reload sshd - name: reload sshd service: name: "{{ sshd_service }}" state: reloaded