I don't think an ansible is "hard sci-fi". Hard sci-fi deals with known physics, and FTL communication violates that.
However I don’t think hard sci-fi has ever been strictly limited to known physics. It just requires consistency with it.
Greg Egan is one of the OGs of hard sci-fi, and a lot of his work is borderline psychedelic in how far he takes speculative-yet-consistent physics.
There are plenty of physically consistent “FTL” mechanisms in the family of “bend spacetime” that don’t violate c and have not been disproven.