Fix docs return formatting. (#69632)

Gets rid of the unknown field names in the return data.
Allows the plugin return docs to format under the new docs pipeline.
* Expect that package_facts will pass return-syntax-error now.
This commit is contained in:
Toshio Kuratomi 2020-05-28 13:23:30 -07:00 committed by GitHub
parent 21b65257bf
commit 412af6ae91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -116,7 +116,7 @@ ansible_facts:
...
}
}
sample_rpm:
# Sample rpm
{
"packages": {
"kernel": [
@ -183,7 +183,7 @@ ansible_facts:
],
}
}
sample_deb:
# Sample deb
{
"packages": {
"libbz2-1.0": [

View file

@ -177,7 +177,6 @@ lib/ansible/modules/dpkg_selections.py validate-modules:doc-required-mismatch
lib/ansible/modules/package_facts.py validate-modules:doc-choices-do-not-match-spec
lib/ansible/modules/package_facts.py validate-modules:doc-missing-type
lib/ansible/modules/package_facts.py validate-modules:parameter-list-no-elements
lib/ansible/modules/package_facts.py validate-modules:return-syntax-error
lib/ansible/modules/rpm_key.py validate-modules:parameter-type-not-in-doc
lib/ansible/modules/yum.py pylint:blacklisted-name
lib/ansible/modules/yum.py validate-modules:doc-default-does-not-match-spec