diff --git a/hacking/module_formatter.py b/hacking/module_formatter.py index 7afba19da9..72245e533e 100755 --- a/hacking/module_formatter.py +++ b/hacking/module_formatter.py @@ -289,7 +289,7 @@ def process_module(module, options, env, template, outputname, module_map, alias del doc['options'][k]['version_added'] if not 'description' in doc['options'][k]: raise AnsibleError("Missing required description for option %s in %s " % (k, module)) - if not 'requried' in doc['options'][k]: + if not 'required' in doc['options'][k]: raise AnsibleError("Missing required 'required' for option %s in %s " % (k, module)) if not isinstance(doc['options'][k]['description'],list): doc['options'][k]['description'] = [doc['options'][k]['description']]