[cloud] Add supports_check_mode to ec2_ami_find ()

ec2_ami_find is a facts module, and makes no
changes, so trivially supports check mode
This commit is contained in:
Will Thames 2017-03-04 04:34:38 +10:00 committed by Ryan Brown
parent 19b49a9224
commit 699f0e861c

View file

@ -330,6 +330,7 @@ def main():
module = AnsibleModule(
argument_spec=argument_spec,
supports_check_mode=True,
)
if not HAS_BOTO: