Roll the Dice On

What does the idiom “Roll the Dice On” mean?

Definition:

Take a risk

For example:

“I’m going to roll the dice on the plant renovation. If the market collapses we’ll be in trouble, but I think it’s needed”