Skip to content
Snippets Groups Projects
Commit d6f8f697 authored by wu.chunyang's avatar wu.chunyang
Browse files

Add check to ansible argument_spec

module_name is required for kolla_toolbox,but this module does
not check this argument.

Change-Id: Iae256c0690b408a040b4e0b079525d3dab917e90
parent 80b8d2da
No related branches found
No related tags found
No related merge requests found
...@@ -120,7 +120,7 @@ def get_docker_client(): ...@@ -120,7 +120,7 @@ def get_docker_client():
def main(): def main():
specs = dict( specs = dict(
module_name=dict(type='str'), module_name=dict(required=True, type='str'),
module_args=dict(type='str'), module_args=dict(type='str'),
module_extra_vars=dict(type='json'), module_extra_vars=dict(type='json'),
api_version=dict(required=False, type='str', default='auto'), api_version=dict(required=False, type='str', default='auto'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment