Hi Mohan,
this as actually great question, since I was also struggling in the beginning, and from time to time even now.
Once I got the grip of the very basics, I switched to galaxy and stared to learn how others are doing it.
I discovered there are many great things to learn, as it is much easier to learn when you can see the working example.
For started I recommend geerlingguy repositories:
This guy knows he is doing :).
Vagrant makes setup of virtual machine a breeze and it has ansible as provisioner baked in.
To learn more you can go here:
Have a fun learning and if you need more help, feel free to ping me.
Best,
Petr