mirror of https://github.com/ansible/ansible.git
[stable-2.9] Fix ansible-doc traceback and sanity test. (#62040)
* Fix ansible-doc traceback for removed modules.
This avoids tracebacks with errors like the following when a module has been removed:
module module_name missing documentation (or could not parse documentation): 'NoneType' object does not support item assignment
* Fix ansible-doc sanity test warning handling.
Warnings about removed modules/plugins on stderr are now properly ignored.
Previously an ansible-doc error could result in unrelated errors going undetected because tests were stopped early and the underlying error was ignored.
(cherry picked from commit 064e8e1ef4)
Co-authored-by: Matt Clay <matt@mystile.com>
pull/62469/head
parent
997f272c4e
commit
ffb3e19dc6
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-doc now properly handles removed modules/plugins
|
||||
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- ansible-test now properly handles warnings for removed modules/plugins
|
||||
Loading…
Reference in New Issue