# restart ssh service to apply changes - name: Restart ssh service service: name: ssh state: restarted