Meaning
to take dangerous risks that could lead to trouble
Literal Meaning
to engage in risky behavior that could have serious consequences
Example
“If you keep ignoring the warning signs, you're playing with fire.”