mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +00:00
ec2_group_facts: Fail correctly when boto3 is not installed
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
This commit is contained in:
committed by
Matt Clay
parent
cb76200c7d
commit
4a57cba86d
@@ -102,7 +102,7 @@ try:
|
||||
from botocore.exceptions import ClientError
|
||||
HAS_BOTO3 = True
|
||||
except ImportError:
|
||||
HAS_BOTO3 = Falsentry
|
||||
HAS_BOTO3 = False
|
||||
|
||||
import traceback
|
||||
|
||||
|
||||
Reference in New Issue
Block a user