Getting error when using Ansible playbook. error message: “msg”: “boto required for this module”Ansible ec2: “boto required for this module”Integration cloudfomation with ansibleAnsible module: ec2_elb unable to find ELB (when ELB count>400?)Do Ansible modules run locally or on the remote host?Error refreshing ElastiCache in Ec2.py when running Ansible playbooksError on ansible playbook: the python mysqldb module is requiredUsing ec2_snapshot getting error message “boto required for this module”Windows Server 2012 R2 and AWS S3 Download from AnsibleAnsible MemoryError when using shell module in playbookGetting error running ansible playbook to create environment on openstackAnsible executing playbook boto missing
Safely hang a mirror that does not have hooks
How is underwater propagation of sound possible?
Why are some of the Stunts in The Expanse RPG labelled 'Core'?
Can someone explain to me the parameters of a lognormal distribution?
How do I extract the path back out from a brush?
What was the deeper meaning of Hermione wanting the cloak?
Did Apollo carry and use WD40?
Is there any reason nowadays to use a neon indicator lamp instead of an LED?
Was there a trial by combat between a man and a dog in medieval France?
How to deal with my team leader who keeps calling me about project updates even though I am on leave for personal reasons?
What do these pins mean? Where should I plug them in?
Resolving moral conflict
Can multiple wall timers turn lights on or off when required?
Manager encourages me to take day of sick leave instead of PTO, what's in it for him?
I reverse the source code, you negate the output!
Leaving a job that I just took based on false promise of a raise. What do I tell future interviewers?
Minimize taxes now that I earn more
I reverse the source code, you negate the input!
How to fix folder structure in Windows 7 and 10
Can planetary bodies have a second axis of rotation?
US entry with tourist visa but past alcohol arrest
Should the pagination be reset when changing the order?
What are the end bytes of *.docx file format
Is Zack Morris's 'time stop' ability in "Saved By the Bell" a supernatural ability?
Getting error when using Ansible playbook. error message: “msg”: “boto required for this module”
Ansible ec2: “boto required for this module”Integration cloudfomation with ansibleAnsible module: ec2_elb unable to find ELB (when ELB count>400?)Do Ansible modules run locally or on the remote host?Error refreshing ElastiCache in Ec2.py when running Ansible playbooksError on ansible playbook: the python mysqldb module is requiredUsing ec2_snapshot getting error message “boto required for this module”Windows Server 2012 R2 and AWS S3 Download from AnsibleAnsible MemoryError when using shell module in playbookGetting error running ansible playbook to create environment on openstackAnsible executing playbook boto missing
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
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"
Have tried everything suggested here: Ansible ec2: "boto required for this module". But nada.
ansible boto3
add a comment
|
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"
Have tried everything suggested here: Ansible ec2: "boto required for this module". But nada.
ansible boto3
boto and boto3 are different things.
– Jack
Mar 28 at 14:59
Pip3 install boto3
– error404
Mar 28 at 17:01
I guess this task most probably runs on localhost. If for whatever reason you run it on a remote host, did you install the requirements there ?
– Zeitounator
Mar 28 at 17:32
ohk. thanks guys. have another doubt. i'm workign with python 2.7.3. For this, which version of boto is needed? boto or boto3? @error404, I aleady installed boto3 in the remote host. the issue came up inspite of that.
– Vardhan
Mar 29 at 6:09
add a comment
|
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"
Have tried everything suggested here: Ansible ec2: "boto required for this module". But nada.
ansible boto3
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"
Have tried everything suggested here: Ansible ec2: "boto required for this module". But nada.
ansible boto3
ansible boto3
asked Mar 28 at 14:56
VardhanVardhan
1
1
boto and boto3 are different things.
– Jack
Mar 28 at 14:59
Pip3 install boto3
– error404
Mar 28 at 17:01
I guess this task most probably runs on localhost. If for whatever reason you run it on a remote host, did you install the requirements there ?
– Zeitounator
Mar 28 at 17:32
ohk. thanks guys. have another doubt. i'm workign with python 2.7.3. For this, which version of boto is needed? boto or boto3? @error404, I aleady installed boto3 in the remote host. the issue came up inspite of that.
– Vardhan
Mar 29 at 6:09
add a comment
|
boto and boto3 are different things.
– Jack
Mar 28 at 14:59
Pip3 install boto3
– error404
Mar 28 at 17:01
I guess this task most probably runs on localhost. If for whatever reason you run it on a remote host, did you install the requirements there ?
– Zeitounator
Mar 28 at 17:32
ohk. thanks guys. have another doubt. i'm workign with python 2.7.3. For this, which version of boto is needed? boto or boto3? @error404, I aleady installed boto3 in the remote host. the issue came up inspite of that.
– Vardhan
Mar 29 at 6:09
boto and boto3 are different things.
– Jack
Mar 28 at 14:59
boto and boto3 are different things.
– Jack
Mar 28 at 14:59
Pip3 install boto3
– error404
Mar 28 at 17:01
Pip3 install boto3
– error404
Mar 28 at 17:01
I guess this task most probably runs on localhost. If for whatever reason you run it on a remote host, did you install the requirements there ?
– Zeitounator
Mar 28 at 17:32
I guess this task most probably runs on localhost. If for whatever reason you run it on a remote host, did you install the requirements there ?
– Zeitounator
Mar 28 at 17:32
ohk. thanks guys. have another doubt. i'm workign with python 2.7.3. For this, which version of boto is needed? boto or boto3? @error404, I aleady installed boto3 in the remote host. the issue came up inspite of that.
– Vardhan
Mar 29 at 6:09
ohk. thanks guys. have another doubt. i'm workign with python 2.7.3. For this, which version of boto is needed? boto or boto3? @error404, I aleady installed boto3 in the remote host. the issue came up inspite of that.
– Vardhan
Mar 29 at 6:09
add a comment
|
1 Answer
1
active
oldest
votes
You are missing the python boto
package on the host that is executing the Ansible playbooks.
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
Package dependencies are listed on the Ansible website for each module. For example for the ec2 module the Ansible host dependencies are:
python >= 2.6
boto
It is worth noting that that boto, botocore, and boto3 are all separate packages.
But I have already installed boto3 in controlling machine as well as node. That's what I've said in the first line of my question. Inspite of being installed, i got the above error. Is the issue related to the version of boto? Like Jack commented above, I'll try installing boto on both machines.
– Vardhan
Mar 29 at 6:18
add a comment
|
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55400718%2fgetting-error-when-using-ansible-playbook-error-message-msg-boto-required%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You are missing the python boto
package on the host that is executing the Ansible playbooks.
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
Package dependencies are listed on the Ansible website for each module. For example for the ec2 module the Ansible host dependencies are:
python >= 2.6
boto
It is worth noting that that boto, botocore, and boto3 are all separate packages.
But I have already installed boto3 in controlling machine as well as node. That's what I've said in the first line of my question. Inspite of being installed, i got the above error. Is the issue related to the version of boto? Like Jack commented above, I'll try installing boto on both machines.
– Vardhan
Mar 29 at 6:18
add a comment
|
You are missing the python boto
package on the host that is executing the Ansible playbooks.
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
Package dependencies are listed on the Ansible website for each module. For example for the ec2 module the Ansible host dependencies are:
python >= 2.6
boto
It is worth noting that that boto, botocore, and boto3 are all separate packages.
But I have already installed boto3 in controlling machine as well as node. That's what I've said in the first line of my question. Inspite of being installed, i got the above error. Is the issue related to the version of boto? Like Jack commented above, I'll try installing boto on both machines.
– Vardhan
Mar 29 at 6:18
add a comment
|
You are missing the python boto
package on the host that is executing the Ansible playbooks.
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
Package dependencies are listed on the Ansible website for each module. For example for the ec2 module the Ansible host dependencies are:
python >= 2.6
boto
It is worth noting that that boto, botocore, and boto3 are all separate packages.
You are missing the python boto
package on the host that is executing the Ansible playbooks.
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
Package dependencies are listed on the Ansible website for each module. For example for the ec2 module the Ansible host dependencies are:
python >= 2.6
boto
It is worth noting that that boto, botocore, and boto3 are all separate packages.
answered Mar 28 at 20:43
NickNick
8427 silver badges19 bronze badges
8427 silver badges19 bronze badges
But I have already installed boto3 in controlling machine as well as node. That's what I've said in the first line of my question. Inspite of being installed, i got the above error. Is the issue related to the version of boto? Like Jack commented above, I'll try installing boto on both machines.
– Vardhan
Mar 29 at 6:18
add a comment
|
But I have already installed boto3 in controlling machine as well as node. That's what I've said in the first line of my question. Inspite of being installed, i got the above error. Is the issue related to the version of boto? Like Jack commented above, I'll try installing boto on both machines.
– Vardhan
Mar 29 at 6:18
But I have already installed boto3 in controlling machine as well as node. That's what I've said in the first line of my question. Inspite of being installed, i got the above error. Is the issue related to the version of boto? Like Jack commented above, I'll try installing boto on both machines.
– Vardhan
Mar 29 at 6:18
But I have already installed boto3 in controlling machine as well as node. That's what I've said in the first line of my question. Inspite of being installed, i got the above error. Is the issue related to the version of boto? Like Jack commented above, I'll try installing boto on both machines.
– Vardhan
Mar 29 at 6:18
add a comment
|
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55400718%2fgetting-error-when-using-ansible-playbook-error-message-msg-boto-required%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
boto and boto3 are different things.
– Jack
Mar 28 at 14:59
Pip3 install boto3
– error404
Mar 28 at 17:01
I guess this task most probably runs on localhost. If for whatever reason you run it on a remote host, did you install the requirements there ?
– Zeitounator
Mar 28 at 17:32
ohk. thanks guys. have another doubt. i'm workign with python 2.7.3. For this, which version of boto is needed? boto or boto3? @error404, I aleady installed boto3 in the remote host. the issue came up inspite of that.
– Vardhan
Mar 29 at 6:09