From 62acd6286f07559700bfd6e398be02d3f8375440 Mon Sep 17 00:00:00 2001 From: Ben Tomasik Date: Mon, 5 Dec 2016 17:23:11 -0600 Subject: [PATCH] Add check mode support (#3523) --- lib/ansible/modules/extras/cloud/amazon/ec2_remote_facts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/cloud/amazon/ec2_remote_facts.py b/lib/ansible/modules/extras/cloud/amazon/ec2_remote_facts.py index cb80068a7cc..2e29b798003 100644 --- a/lib/ansible/modules/extras/cloud/amazon/ec2_remote_facts.py +++ b/lib/ansible/modules/extras/cloud/amazon/ec2_remote_facts.py @@ -165,7 +165,8 @@ def main(): ) ) - module = AnsibleModule(argument_spec=argument_spec) + module = AnsibleModule(argument_spec=argument_spec, + supports_check_mode=True) if not HAS_BOTO: module.fail_json(msg='boto required for this module')