mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-22 22:11:44 -07:00
validate-modules: Documentation bool (#50085)
* validate-modules: Documentation bool This check allows to catch cases where type of argument is different than documentation does. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Wrong comparison for 'str' Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Add ignore.txt Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Fix logic and clean up ignore.txt
This commit is contained in:
parent
f1e67c3328
commit
e0d8d9c2bf
3 changed files with 70 additions and 61 deletions
|
@ -117,7 +117,7 @@ Errors
|
|||
322 argument is listed in the argument_spec, but not documented in the module
|
||||
323 argument is listed in DOCUMENTATION.options, but not accepted by the module
|
||||
324 Value for "default" from the argument_spec does not match the documentation
|
||||
325 argument_spec defines type="bool" but documentation does not
|
||||
325 argument_spec defines type different than documentation does
|
||||
326 Value for "choices" from the argument_spec does not match the documentation
|
||||
327 Default value from the documentation is not compatible with type defined in the argument_spec
|
||||
328 Choices value from the documentation is not compatible with type defined in the argument_spec
|
||||
|
@ -127,6 +127,7 @@ Errors
|
|||
332 ``AnsibleModule`` schema validation error
|
||||
333 ``ANSIBLE_METADATA.status`` of deprecated or removed can't include other statuses
|
||||
334 ``ANSIBLE_METADATA`` cannot be changed in a point release for a stable branch
|
||||
335 argument_spec implies type="str" but documentation defines it as different data type
|
||||
|
||||
..
|
||||
--------- -------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue