How to creaye partitions

Hii guys,
I am trying to create standard linux fdisk partitions from playbook using parted module. But it is giving me an error, PARTED IS NOT A VALID ATTRIBUTE FOR A PLAY. Is there any other way i can create partitions.

The parted module has only recently been introduced in 2.3.0.
What version are you using.

And what does your playbook look like?

Dick