ERROR! The ec2 dynamic inventory plugin requires boto3 and botocore.
- Last Updated On: July 13, 2021
- By: Scriptcrunch Editorial
Issue: When trying to set up Ansible Dynamic inventory, I am getting the following error.
ERROR! The ec2 dynamic inventory plugin requires boto3 and botocore.
I have installed python3 and boto3. But still, ansible is throwing an error on boto3.
[Solution] ec2 dynamic inventory plugin requires boto3
This issue normally happens when you install Ansible from Ansible ppa.
To fix these issues you need to install boto3 using the following command.
sudo apt-get install python-boto3
Once you executed the above command, you can try executing the dynamic inventory again, it will not throw this error.
You might like, checking application status using Ansible
Scriptcrunch Editorial
Other Interesting Blogs
[50% OFF] Kubernetes Certification Coupons (CKA, CKAD, CKS, KCNA and KCSA)
Looking for CKA coupon and other Kubernetes certification coupon codes? You have come to the right place. Following are the list of
[80% OFF] Linux Foundation Coupon for December 2024
Looking for CKA Coupon and other Linux Foundation certifications coupons? We got you covered. With the latest Linux Foundation Coupon, you can
[65% OFF] Linux Foundation LFCA, LFCS & LFCT Exam Voucher Codes
Linux Foundation has announced up to a $284 discount on its Linux certification programs Linux Foundation Certified IT Associate (LFCA) and Linux