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:
parent
21b65257bf
commit
412af6ae91
2 changed files with 2 additions and 3 deletions
|
@ -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…
Reference in a new issue