Technical requirements
To follow along with the chapter, you must meet the following technical requirements:
- To install Ansible, we need an OS such as Red Hat, Debian, CentOS, macOS, or any of the BSDs. For those who have Windows, you can install the Windows Subsystem for Linux (WSL); refer to the documentation at https://docs.microsoft.com/en-us/windows/wsl/install-win10.
- Python 2 (version 2.7) or Python 3 (version 3.5+) must be installed on the machine that runs Ansible. You can download it here: https://www.python.org/downloads/. For more information about the Ansible requirements, refer to the documentation here: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#control-node-requirements.
- An Ansible playbook uses YAML configuration files, so any code editor would work; however, we will be using Visual Studio Code as it is very suitable. You can download it here: https://code.visualstudio.com/.
- Most of this chapter will not focus...