I’m using an ubuntu 18.04 machine and I don’t have any DigitalOcean’s account right now but how can I create my very basic ubuntu 18.04 droplet using ansible on my local machine is that possible or not ?
give me a solution
Thanks.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
On your local machine, you could use hypervisor like Oracle VirtualBox to manually create virtual machines/droplets. This would allow you to manually create your own Virtual Machines on your local machine. That way you will be able to have a Virtual Machine with Ubuntu installed.
For more information, you could check the official website at:
https://www.virtualbox.org/
Or you could try using Virtualbox, Vagrant and Ansible to automate the whole process. With Vagrant you should be able to automatically spin up new VMs. I would recommend taking a look at the official Vagrant documentation here:
https://www.vagrantup.com/docs/provisioning/ansible_intro.html
Hope that this helps! Regards, Bobby