What is the meaning of Willy-nilly?

Whether desired or not; without regard for consequences or wishes of those affected; whether willingly or unwillingly.

Seemingly at random; haphazardly.

That happens whether willingly or unwillingly.

Source: wiktionary.org