6

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?

lightweight
  • 3,227
  • 14
  • 79
  • 142

1 Answers1

7

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.

Konstantin Suvorov
  • 65,183
  • 9
  • 162
  • 193