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 (#3522)

This commit is contained in:
Ben Tomasik 2016-12-05 10:33:54 -06:00 committed by Matt Clay
parent 8a02b5d702
commit 163f16658e

View file

@ -218,7 +218,8 @@ def main():
names={'default': [], 'type': 'list'}
)
)
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')