Technical requirements
This chapter assumes that you have set up your control host with Ansible, as in Chapter 1, Getting Started with Ansible, and that you are using the most recent version available; the examples in this chapter were tested on Ansible 2.15. This chapter also assumes that you have at least one additional host to test against; ideally, this should be Linux-based. Although we will give specific examples of hostnames in this chapter, you are welcome to substitute them with your own hostname and/or IP addresses, and details of how to do this are provided in the appropriate places.
The code bundle used in this chapter is available at https://github.com/PacktPublishing/Practical-Ansible-Second-Edition/tree/main/Chapter%208.