Import boto.ec2 in sns to allow boto profiles to be used

This commit is contained in:
Joe Ray 2015-04-01 17:17:52 +01:00
parent 21fce8ac73
commit 42e761df4a

View file

@ -105,6 +105,7 @@ from ansible.module_utils.ec2 import *
try:
import boto
import boto.ec2
import boto.sns
except ImportError:
print "failed=True msg='boto required for this module'"