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:
parent
8a02b5d702
commit
163f16658e
1 changed files with 2 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue