The standard hub width for road wheels with QR is 130mm for non disc and 135mm for disc hubs. Even though you can force the frame to clamp around narrower hub, it is strongly recommended to add spacers to the axle to adjust the width. As mentioned in comments, if you have hydraulic brake it's best to insert a spacer between brake pads so that you do not ...
To do this "properly" you need to replace all these parts:
a new frame with disk caliper mounts
a new fork with disk caliper mounts
all the brake system parts, being calipers and rotors, hose etc.
new wheel hubs front and rear with disk rotor mounts
longer replacement spokes for your front wheel to rebuild it with a cross lacing pattern
It is possible you ...
Rim and disc brakes have completely different mounts. The front disc would be mounted at the bottom of the left fork leg, and the rear would be mounted where the seat and chain stay intersect.
It’s not just the mounting points: the tubes in disc brake bikes are different. the carbon layup is denser or the metal tubing is much thicker at the disc mount point ...
A minor point is that with no brake available for your roller session, the rear wheel will take longer to stop.
That's going to be totally fine most of the time, but if you have pets or children, keep them away from the spinning bits because there's no good way to stop it quickly.
Perhaps running the resistance slightly higher might mitigate this slightly.