Allow check mode when gathering ec2 facts
This commit is contained in:
parent
a413ddb447
commit
9dd620c687
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue