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, 2019 in Ansible by Vardhan
3,634 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, 2019 by Himanshu

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Boto config file on Linux

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

answered Mar 26, 2019 in Ansible by Raymond
583 views
0 votes
1 answer

print basic boto debug message

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

answered Mar 26, 2019 in Ansible by Raymond
84 views
0 votes
1 answer

Error saying "ImportError: No module named ansible.playbook" when installing ansible on aws

Hey @Niana, I don't think you have ...READ MORE

answered Feb 4, 2019 in Ansible by Anushri

edited Feb 6, 2019 2,053 views