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.
pull/69751/head
Toshio Kuratomi 5 years ago committed by GitHub
parent 21b65257bf
commit 412af6ae91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -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-choices-do-not-match-spec
lib/ansible/modules/package_facts.py validate-modules:doc-missing-type 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: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/rpm_key.py validate-modules:parameter-type-not-in-doc
lib/ansible/modules/yum.py pylint:blacklisted-name lib/ansible/modules/yum.py pylint:blacklisted-name
lib/ansible/modules/yum.py validate-modules:doc-default-does-not-match-spec lib/ansible/modules/yum.py validate-modules:doc-default-does-not-match-spec

Loading…
Cancel
Save