In previous chapters, we have already used a few simple modules, namely, hostname to set the server’s hostname, apt to install nginx, shell to execute arbitrary commands, and copy to push configuration files to the server. We have looked at how we call a module and pass in arguments which tell the module what we hope to achieve.
We will now deep dive into Ansible modules to show how those simple concepts can be turned into a powerful force – by using a variety of arguments, ...