Installing Ansible
In this first part, we will learn how to install Ansible on our host machine, which in this instance is the macOS. Later in this chapter, we will learn how to install Ansible on Ubuntu, which will be running inside our guest Vagrant machine.
Installing Ansible on macOS High Sierra (version 10.13)
Before we can start provisioning our Vagrant machine using Ansible, we first need to install it on our host machine. We won't look at any advanced installations – just the basics to get Ansible up and running on our machine. If you are using another operating system, then please feel free to use the excellent Ansible docs available at https://docs.ansible.com/:
- We first need to visit the
Installation Guide
 page at https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html. - There is a list of supported operating systems, but we need to click on theÂ
Latest Releases on macOS
 section. - Here, we will see that the preferred option is to install Ansible via
pip
. - You...