ansible/docs/docsite/rst
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
..
api remove build errors including guess (#69711) 2020-05-29 11:56:49 -05:00
community Update Molecule support contact (#70797) (#70804) 2020-07-22 12:15:12 +01:00
dev_guide Fix the internal Python API usage examples (#70841) 2020-07-23 10:10:42 -07:00
galaxy Add support to install collections from git repositories (#69154) 2020-05-29 13:33:32 -04:00
images Adds custom 404 with cowsay image (#57422) 2019-06-17 10:47:54 -05:00
installation_guide Remove RPM packaging infrastructure (#69554) 2020-05-15 20:29:05 -05:00
inventory Add implicit localhost hostvars note (#61956) 2019-09-16 14:00:29 -04:00
network Collections docs generation backport (#70515) 2020-07-20 14:28:35 -07:00
plugins Collections docs generation backport (#70515) 2020-07-20 14:28:35 -07:00
porting_guides [stable-2.10] Change default file permissions so they are not world readable (#70221) (#70824) 2020-07-23 09:07:18 -07:00
reference_appendices Collections docs generation backport (#70515) 2020-07-20 14:28:35 -07:00
roadmap Updating 2.10 roadmap with adjusted beta release date (#70077) 2020-06-15 19:10:51 +01:00
scenario_guides Doc backportapalooza 2 (#70440) 2020-07-08 16:05:41 -05:00
shared_snippets Add support to install collections from git repositories (#69154) 2020-05-29 13:33:32 -04:00
user_guide Collections docs generation backport (#70515) 2020-07-20 14:28:35 -07:00
404.rst removes link from 404 content, explains options (#57971) 2019-06-18 09:25:12 -04:00
conf.py Collections docs generation backport (#70515) 2020-07-20 14:28:35 -07:00
index.rst Collections docs generation backport (#70515) 2020-07-20 14:28:35 -07:00