Configuring your modules
As we have already covered the use of the shell and command modules, as well as extending Ansible, earlier in this book, we will proceed with the case where we have found a module we want to work with. As you may have noticed in some earlier chapters, although Ansible includes many modules out of the box, not all of them work straight away.
Ansible is written in Python, and, in most cases, where there are dependencies, these will be Python modules. The important thing is to review the documentation. For example, take the bigip_config module we selected in the last section. A quick review of the Requirements section of the documentation shows that this requires (at the time of writing) the Python module f5-sdk, version ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access