[cloud] Support check_mode for ec2_vpc_route_table_facts (#23116)

As a facts module, just needs supports_check_mode to be
set in the argument_spec
This commit is contained in:
Will Thames 2017-04-04 22:31:26 +10:00 committed by Ryan Brown
parent ec01aac983
commit 2be64b8c3a

View file

@ -116,7 +116,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')