mirror of https://github.com/ansible/ansible.git
ansible-doc display docs for modules w/o ext (#85299)
Fixed case in which listing modules for docs failed to get sidecar
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 7e495f4b20)
pull/85305/head
parent
529776f0a1
commit
d3f2c6d8f0
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-doc will no longer ignore docs for modules without an extension (https://github.com/ansible/ansible/issues/85279).
|
||||
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo '{
|
||||
"changed": false,
|
||||
"ansible_facts": {"nothing": "to report"},
|
||||
}'
|
||||
@ -0,0 +1,6 @@
|
||||
DOCUMENTATION = """
|
||||
module: bogus_facts
|
||||
short_description: bad facts returned
|
||||
version_added: historical
|
||||
description: bogus facts for testing
|
||||
"""
|
||||
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo '{
|
||||
"changed": false,
|
||||
"ansible_facts": {"factsone": "from facts_one module"}
|
||||
}'
|
||||
@ -0,0 +1,5 @@
|
||||
DOCUMENTATION:
|
||||
module: facts_one
|
||||
short_description: random facts returned
|
||||
version_added: historical
|
||||
description: random facts for testing
|
||||
Loading…
Reference in New Issue