Getting error when using Ansible playbook. error message: “msg”: “boto required for this module”

0 votes

I'm trying to execute a playbook for starting an ec2 instance. Have boto3 and python installed on both controlling machine and client node. But it still gives me the error saying: "msg": "boto required for this module"

Mar 29 in Ansible by Vardhan
385 views

1 answer to this question.

0 votes

Hey @Vardhan, you're missing out on the requirements mentioned in the Documentation. You need Boto to be installed on your Server as well as the client.

You can install it via the python package manager

$ pip install boto --user

If you are using linux you can also install it via the package manager:

# RHEL/CentOS
$ sudo yum -y install python-pip

# Fedora
$ sudo dnf -y install python-pip
answered Mar 29 by Himanshu

Related Questions In Ansible

0 votes
0 answers

how can we unarchive multiple different files using ansible-playbook? i tried this yml file its getting error

---   - hosts: all     become: yes     vars:     - path: /home/ansadmin     tasks:     - name: ...READ MORE

6 days ago in Ansible by Rajendra
• 280 points
14 views
0 votes
1 answer
0 votes
1 answer
0 votes
3 answers
0 votes
1 answer

Boto config file on Linux

Hey @Hari, your boto config file could ...READ MORE

answered Mar 26 in Ansible by Raymond
86 views
0 votes
1 answer

print basic boto debug message

Debug Controls the level of debug messages ...READ MORE

answered Mar 26 in Ansible by Raymond
17 views
0 votes
1 answer