From 699f0e861c53ac6e2251317a9279b07af63b6106 Mon Sep 17 00:00:00 2001 From: Will Thames Date: Sat, 4 Mar 2017 04:34:38 +1000 Subject: [PATCH] [cloud] Add supports_check_mode to ec2_ami_find (#22180) ec2_ami_find is a facts module, and makes no changes, so trivially supports check mode --- lib/ansible/modules/cloud/amazon/ec2_ami_find.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/cloud/amazon/ec2_ami_find.py b/lib/ansible/modules/cloud/amazon/ec2_ami_find.py index 4bcc030ab9..a86b937857 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_ami_find.py +++ b/lib/ansible/modules/cloud/amazon/ec2_ami_find.py @@ -330,6 +330,7 @@ def main(): module = AnsibleModule( argument_spec=argument_spec, + supports_check_mode=True, ) if not HAS_BOTO: