1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add check mode support (#3523)

This commit is contained in:
Ben Tomasik 2016-12-05 17:23:11 -06:00 committed by Matt Clay
parent ff4deba55d
commit 62acd6286f

View file

@ -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')