Add check to ansible argument_spec

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

Change-Id: Iae256c0690b408a040b4e0b079525d3dab917e90
This commit is contained in:
wu.chunyang 2018-07-25 07:54:40 +00:00
parent 80b8d2da25
commit d6f8f697fe

View File

@ -120,7 +120,7 @@ def get_docker_client():
def main():
specs = dict(
module_name=dict(type='str'),
module_name=dict(required=True, type='str'),
module_args=dict(type='str'),
module_extra_vars=dict(type='json'),
api_version=dict(required=False, type='str', default='auto'),