From ec01aac9837f94f74ef67b7a9e54682a17395a88 Mon Sep 17 00:00:00 2001 From: Will Thames Date: Tue, 4 Apr 2017 22:31:01 +1000 Subject: [PATCH] [cloud] Support check_mode for ec2_vpc_nat_gateway_facts (#23114) As a facts module, just needs supports_check_mode switched on --- lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py b/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py index 0a30cb78db6..c533cc13f4e 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py +++ b/lib/ansible/modules/cloud/amazon/ec2_vpc_nat_gateway_facts.py @@ -127,7 +127,8 @@ def main(): ) ) - module = AnsibleModule(argument_spec=argument_spec,) + module = AnsibleModule(argument_spec=argument_spec, + supports_check_mode=True) # Validate Requirements if not HAS_BOTO3: