I'll echo and amplify what
@Robert Holler said: get a new star nut and install the fork properly. Those spacers aren't for decoration, they perform an important function. It is possible to install the fork correctly without spacers providing it's cut to the correct length but this is definitely one of those "measure twice, cut once" things since getting it wrong (cutting too short) means you're off to buy a new fork.
Here are the steps:
- put however many spacers you want to use plus the stem on the bike
- mark the fork at the top of the stem
- cut the fork 3mm below your mark. Careful is key here, I'll say it again: measure twice, cut once
- install a new star nut (or, if you have the proper tool, use it to push down the existing one) 15-20mm below the cut
- install the spacers and stem. Put the top cap on and thread the M6 bolt into the star nut. Tighten to 6Nm. This will preload the bearings
- align the stem with the front wheel. Tighten the stem bolts (5-6Nm)
You could at this point remove the top cap but why? Once everything is put back together, you should be able to hold the front brake tightly, rock the bike back and forth and there should be no play at the headset.
I also note from your picture that the top of the steerer isn't cut very cleanly. Although you can probably leave it like that it'll mean that in order to get the requisite 3mm below the top of the stem you'll need more spacers than if it were cut cleanly. If you don't have a proper guide you can use a clamp tightened around the steerer as a guide. Alternatively you could file the steerer level.
As Robert said: "please, please, please, please x 10,000 - before riding another yard..." do it properly. The
best thing that will happen if you continue to ride it like it is is that it will destroy the bearings or damage the steerer tube in the frame, the worst thing that might happen is the top headset bearing will pop out of the steerer tube and you'll crash.
Be safe, do it right.