Ansible script to spin up the VM in virtual box

832 views
Skip to first unread message

Ram

unread,
Mar 10, 2016, 9:21:39 AM3/10/16
to Ansible Project
Hi, 

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. 

Thanks
Ram   

Kevin Bullock

unread,
Mar 10, 2016, 10:30:43 PM3/10/16
to ansible...@googlegroups.com
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. 

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6e04b123-071a-4c4e-8242-ac8b7114cc8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vijay Gongle

unread,
Mar 22, 2018, 9:51:55 AM3/22/18
to Ansible Project
Hello Ram, 

I'm working on the same requirement. 

Do you have solution for it now?

Can you help me in spinning up a VM in virtual bix using ansible,  that would be great. 

Thanks in advance.

Thanks, 
Vijay
Reply all
Reply to author
Forward
0 new messages