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
[40% 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
Linux Foundation Coupon for October 2024
Hi Techies, I wanted to let you know about a pretty sweet deal with the Linux Foundation Coupon that is running now.
CKA Certification Study Guide (Certified Kubernetes Administrator)
This comprehensive CKA certification exam study guide covers all the important aspects of the Certified Kubernetes Administrator exam and useful resources. Passing