Create vm with dynamic mac address and vm name with ansible playbook

Hello,

I’m creating vm the through ansible playbook. how to provide the dynamic mac address and vm name in ansible playbook?

Thanks,
Mahesh.