Friday, March 16, 2018

boto3 required for this module error | Ansible Boto required for this module

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

1 comment:

  1. LAY [provisioning EC2 instances using Ansible] ******************************************************************************************************************************************************************

    TASK [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

    ReplyDelete