# restart ssh service to apply changes - name: Restart ssh service service: name: "{{ ssh_daemon }}" state: restarted