Import boto.ec2 in sns to allow boto profiles to be used
This commit is contained in:
parent
c3ce2eb169
commit
a91c8caee0
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ from ansible.module_utils.ec2 import *
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import boto
|
import boto
|
||||||
|
import boto.ec2
|
||||||
import boto.sns
|
import boto.sns
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print "failed=True msg='boto required for this module'"
|
print "failed=True msg='boto required for this module'"
|
||||||
|
|
Loading…
Reference in a new issue