Ansible collections
At the start of this chapter, we discussed how the Ansible development team decoupled Ansible Modules away from Ansible Core and how this affected the release life cycle.
All of these modules, plugins, and other supporting code are available on Ansible Galaxy; for example, the AWS collection from the Amazon namespace can be found at https://galaxy.ansible.com/amazon/aws; you can install the collection using the following command:
$ ansible-galaxy collection install amazon.aws
Running this command will download and install the collection to ~/.ansible/collections/ansible_collections/amazon/aws
, as seen in the following terminal output:
Figure 2.13 – Installing the amazon.aws collection
However, just having the collection installed doesn’t mean that you will be able to use it within your playbooks just yet; for example, the Amazon AWS module requires some additional Python libraries to be installed, and typically...