As well as installing and configuring your image, you might also wish to verify that certain components that are critical, and that you assume to be present, are actually present. This is especially true when you download an image that was created by someone else.
There are many ways to perform this task in Ansible—let's take a simple example. Suppose you have an archival script that makes use of the bzip2 compression utility to compress files. This is just a small tool but if you rely on it for certain purposes, your scripts would break if it was not present. It is also a pertinent example, as the minimal install of CentOS 7 (as we performed earlier) does not actually include it!
How can Ansible solve this problem? ...