Here is the fix boto3 required for this module error:
You need to install Phython Pip manager first.
sudo apt install python-pip
then install Boto3 module using Pip
sudo pip install boto boto3
Hands on DevOps Coaching provided on AWS and Azure Cloud platforms. please contact devops.coaching@gmail.com for more info.
Subscribe to:
Post Comments (Atom)
Featured Post
-
Amazon ECR uses Amazon S3 for storage to make your container images highly available and accessible, allowing you to reliably deploy new co...
-
Let us see how to connect to an EC2 instance running in AWS from your local machine. Pre-requisites: 1. Keys(for e.g., yourkey.pem) a...
-
We will learn how to automate Docker builds using Jenkins. We will use Python based application. I have already created a repo with source...
LAY [provisioning EC2 instances using Ansible] ******************************************************************************************************************************************************************
ReplyDeleteTASK [Task] ******************************************************************************************************************************************************************************************************
fatal: [local -> localhost]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (botocore or boto3) on ansible.devops.io's Python /usr/bin/python3. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}
PLAY RECAP *******************************************************************************************************************************************************************************************************
local : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0