mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-02 12:14:25 -07: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'}
|
names={'default': [], 'type': 'list'}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
module = AnsibleModule(argument_spec=argument_spec)
|
module = AnsibleModule(argument_spec=argument_spec,
|
||||||
|
supports_check_mode=True)
|
||||||
|
|
||||||
if not HAS_BOTO:
|
if not HAS_BOTO:
|
||||||
module.fail_json(msg='boto required for this module')
|
module.fail_json(msg='boto required for this module')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue