mirror of https://github.com/ansible/ansible.git
ansible-doc: print where the description is missing (#85320)
* ansible-doc: print where the description is missing Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>pull/33817/head^2
parent
557733abb1
commit
205ca648bf
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- ansible-doc - Return a more verbose error message when the ``description`` field is missing.
|
||||
@ -0,0 +1,34 @@
|
||||
---
|
||||
argument_specs:
|
||||
main:
|
||||
short_description: test_role4 from roles subdir
|
||||
description:
|
||||
- In to am attended desirous raptures B(declared) diverted confined at. Collected instantly remaining
|
||||
up certainly to C(necessary) as. Over walk dull into son boy door went new.
|
||||
- At or happiness commanded daughters as. Is I(handsome) an declared at received in extended vicinity
|
||||
subjects. Into miss on he over been late pain an. Only week bore boy what fat case left use. Match round
|
||||
scale now style far times. Your me past an much.
|
||||
author:
|
||||
- John Doe (@john)
|
||||
- Jane Doe (@jane)
|
||||
attributes:
|
||||
diff_mode:
|
||||
description: Will return details on what has changed (or possibly needs changing in check_mode), when in diff mode
|
||||
support: partial
|
||||
details: Not all modules used support this
|
||||
options:
|
||||
myopt1:
|
||||
description:
|
||||
- First option.
|
||||
type: "str"
|
||||
required: true
|
||||
|
||||
myopt2:
|
||||
type: "int"
|
||||
default: 8000
|
||||
|
||||
myopt3:
|
||||
description:
|
||||
- Third option.
|
||||
type: "bool"
|
||||
default: false
|
||||
@ -0,0 +1,10 @@
|
||||
# This meta/main.yml exists to test that it is NOT read, with preference being
|
||||
# given to the meta/argument_specs.yml file. This spec contains an additional
|
||||
# entry point that the argument_specs.yml does not. If this file # were read,
|
||||
# the additional entrypoints would show up in --list output, breaking # tests.
|
||||
---
|
||||
argument_specs:
|
||||
main:
|
||||
short_description: test_role4 from roles subdir
|
||||
holden:
|
||||
short_description: Rocinante pilot
|
||||
Loading…
Reference in New Issue