How it works...
The Python SDK libraries that interact with the AWS orchestration system API are boto and boto3. These python packages must be present on the Ansible control machine since, with Ansible, all the AWS modules rely on one of these python packages to operate. We can check whether this package is already installed on the system using the preceding first step to run any AWS module (aws_az_facts, for example) using the ansible command. If the boto3 library is not present, we will get an error message informing us that boto3 is not installed.
We can install the boto and boto3 packages using the Python pip program using the pip3 command, which will install the packages and all the dependencies needed to install and run the package ...
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