Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is boto3 supported by ansible?

so this is a pretty basic question but I couldn't find the answer in the ansible docs. Does Boto3 work with Ansible? I see that some of the docs on ansible have boto3 as a requirement, like these:

http://docs.ansible.com/ansible/ec2_vpc_nacl_module.html http://docs.ansible.com/ansible/ec2_vpc_vgw_module.html

but then some don't, like these:

http://docs.ansible.com/ansible/ec2_module.html http://docs.ansible.com/ansible/ec2_elb_module.html

or am I mis-reading it and some need boto and boto3?

like image 734
lightweight Avatar asked Jan 31 '17 12:01

lightweight


1 Answers

Boto3 is supported by Ansible "core" as modules' helpers (see here).
And, as you mentioned, it is required by some newer modules, as ec2_vpc_nacl.

But older modules (like ec2) still require boto2 and will fail if it is not there, see here and here.

like image 79
Konstantin Suvorov Avatar answered Sep 23 '22 01:09

Konstantin Suvorov