From 5656e9d66e6c57c44d5dd163683b8564af52f0f7 Mon Sep 17 00:00:00 2001 From: ipauldev Date: Thu, 11 Jul 2013 19:42:15 -0500 Subject: [PATCH] Allow check mode when gathering ec2 facts --- library/cloud/ec2_facts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/cloud/ec2_facts b/library/cloud/ec2_facts index 411be0268e4..31d31307c88 100644 --- a/library/cloud/ec2_facts +++ b/library/cloud/ec2_facts @@ -155,7 +155,8 @@ def main(): ec2_facts_result = dict(changed=False, ansible_facts=ec2_facts) module = AnsibleModule( - argument_spec = dict() + argument_spec = dict(), + supports_check_mode = True, ) module.exit_json(**ec2_facts_result)