From a91c8caee0aed49b0c72209536e942deeda4665d Mon Sep 17 00:00:00 2001 From: Joe Ray Date: Wed, 1 Apr 2015 17:17:52 +0100 Subject: [PATCH] Import boto.ec2 in sns to allow boto profiles to be used --- lib/ansible/modules/extras/notification/sns.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/extras/notification/sns.py b/lib/ansible/modules/extras/notification/sns.py index f2ed178554..54421b0e9f 100644 --- a/lib/ansible/modules/extras/notification/sns.py +++ b/lib/ansible/modules/extras/notification/sns.py @@ -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'"