Add check mode support (#3523)

pull/4420/head
Ben Tomasik 2016-12-05 17:23:11 -06:00 committed by Matt Clay
parent ff4deba55d
commit 62acd6286f
1 changed files with 2 additions and 1 deletions

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