1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #3508 from ipauldev/devel

Allow check mode when gathering ec2 facts
This commit is contained in:
Michael DeHaan 2013-07-12 08:20:33 -07:00
commit 27fcfe9cac

View file

@ -155,7 +155,8 @@ def main():
ec2_facts_result = dict(changed=False, ansible_facts=ec2_facts) ec2_facts_result = dict(changed=False, ansible_facts=ec2_facts)
module = AnsibleModule( module = AnsibleModule(
argument_spec = dict() argument_spec = dict(),
supports_check_mode = True,
) )
module.exit_json(**ec2_facts_result) module.exit_json(**ec2_facts_result)