mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Allow check mode when gathering ec2 facts
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user