I am new to Ansible, and i am from Microsoft tech background,
i want to spin and setup an VM with redhat linux in the Virtual box, after setup the VM, i need to setup tomcat, so have installed the ansible in mac book, but from there how to setup an VM in oracle virtual box is little bit confused with vagrant.
please help the steps/article to setup VM with redhat linux in Virtual box using ansible.
Have you looked into Vagrant <https://www.vagrantup.com>? You can create a Vagrantfile that sets up the virtual machine and then invokes Ansible to provision it with the playbook you specify. Their docs are pretty good on how to do this.