Exploring the Ansible playbook structure

Getting up and running with Ansible is a straightforward endeavor, and packages are available for most major Linux distributions, FreeBSD, and just about any platform where Python runs. If you have a recent version of Microsoft Windows installed that supports the Windows Subsystem for Linux (WSL), Ansible even installs and runs under this.

Note, though, that there are no native Windows packages at the time of writing.

The official Ansible documentation provides installation documentation for all major platforms. Please refer to https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html.

In this chapter, our examples will be run on Ubuntu Server 18.04.2. However, as Ansible works ...

Get Hands-On Enterprise Automation on Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.