This chapter assumes that you have set up your control host with Ansible, as detailed in Chapter 1, Getting Started with Ansible, and are using the most recent version available – the examples in this chapter were tested with Ansible 2.9. Although we will give specific examples of hostnames in this chapter, you are free to substitute them with your own hostname and/or IP addresses. Details of how to do this will be provided in the appropriate places. This chapter also assumes you have access to a Docker host, and although it's possible to install Docker on the majority – if not all – operating systems, all the commands provided in this chapter are for GNU/Linux and have been tested solely on this platform.
All the examples in this chapter can be found in this book's GitHub repository at https://github.com/PacktPublishing/Practical...