ansible/docs
Sviatoslav Sydorenko 7969b60552
Fix the internal Python API usage examples (#70841)
Previous version initialized the `TaskQueueManager` after calling
`Play.load()` while advertising a way to inject a custom library
location path. This caused the tasks loader not to find any custom
modules because it was triggered before the path was actually added
to the module loader.

This patch changes the order of the operations to ensure that the
customized `context.CLIARGS` actually influences things.

Resolves https://github.com/ansible/ansible/issues/69758.

(cherry picked from commit 8d97c8c222)
2020-07-23 10:10:42 -07:00
..
bin Make docs testing_formatter script more portable (#65112) 2019-12-10 09:34:03 -06:00
docsite Fix the internal Python API usage examples (#70841) 2020-07-23 10:10:42 -07:00
man
templates Collections docs generation backport (#70515) 2020-07-20 14:28:35 -07:00