To be able to learn Ansible, we will need to make quite a few playbooks and run them.
Doing this directly on your computer will be very risky. For this reason, I would suggest using virtual machines.
It's possible to create a test environment with cloud providers in a few seconds, but it is often more useful to have those machines locally. To do so, we will use Vagrant, which is a piece of software by Hashicorp that allows users to quickly set up virtual environments independently from the virtualization backend used on the local system. It does support many virtualization backends (in the Vagrant ecosystem these are known as Providers) such as Hyper-V, VirtualBox, Docker, VMWare, and libvirt. This allows you to use the same syntax no matter what operating system or environment you are in.
First we will install vagrant. On Fedora,...