ansible/docs/docsite/rst/dev_guide
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
..
platforms [backport][2.10]Docs backportapalooza3 (#70695) 2020-07-17 13:50:40 -05:00
shared_snippets
style_guide added documentation for R() (#69832) 2020-06-16 11:50:50 -05:00
testing/sanity validate ansible-base's and collections runtime.yml (#69742) 2020-06-12 15:34:34 +01:00
debugging.rst Correct debugging modules documentation (#69245) 2020-05-06 12:20:47 -05:00
developing_api.rst Fix the internal Python API usage examples (#70841) 2020-07-23 10:10:42 -07:00
developing_collections.rst [backport][2.10]Docs backportapalooza3 (#70695) 2020-07-17 13:50:40 -05:00
developing_core.rst
developing_inventory.rst
developing_locally.rst [backport][2.10]Docs backportapalooza3 (#70695) 2020-07-17 13:50:40 -05:00
developing_module_utilities.rst
developing_modules.rst
developing_modules_best_practices.rst Sanitize URI module keys with no_log values (#70762) (#70820) 2020-07-22 18:28:24 -07:00
developing_modules_checklist.rst
developing_modules_documenting.rst Doc backportapalooza 2 (#70440) 2020-07-08 16:05:41 -05:00
developing_modules_general.rst [backport][2.10]Docs backportapalooza3 (#70695) 2020-07-17 13:50:40 -05:00
developing_modules_general_aci.rst remove build errors including guess (#69711) 2020-05-29 11:56:49 -05:00
developing_modules_general_windows.rst [backport][2.10]Docs backportapalooza3 (#70695) 2020-07-17 13:50:40 -05:00
developing_modules_in_groups.rst [backport][2.10]Docs backportapalooza3 (#70695) 2020-07-17 13:50:40 -05:00
developing_plugins.rst Update inventory caching documentation (#69100) 2020-05-05 15:10:57 -05:00
developing_program_flow_modules.rst doc: explain default "required" value for argument_spec (#68678) 2020-04-06 16:07:30 -04:00
developing_python_3.rst
developing_rebasing.rst
index.rst How to contribute to Ansible maintained collections (#69202) 2020-06-15 15:38:42 -05:00
migrating_roles.rst remove build errors including guess (#69711) 2020-05-29 11:56:49 -05:00
module_lifecycle.rst Document the ability to deprecate by date (#69833) 2020-06-11 15:28:24 -05:00
overview_architecture.rst
testing.rst Update testing collections to mention ansible-base versions (#69805) 2020-06-10 16:22:01 -04:00
testing_compile.rst Extend dev guide for collection testing and collection hacking (#68899) 2020-04-15 15:51:19 -05:00
testing_documentation.rst
testing_httptester.rst
testing_integration.rst [backport][2.10]Docs backportapalooza3 (#70695) 2020-07-17 13:50:40 -05:00
testing_integration_legacy.rst
testing_pep8.rst
testing_running_locally.rst fixes link, makes intrapage TOC local (#67664) 2020-02-24 14:29:22 -05:00
testing_sanity.rst Dev guide: add notes about different image types for integration and unit/sanity tests (#68663) 2020-04-07 09:17:44 -05:00
testing_units.rst Dev guide: add notes about different image types for integration and unit/sanity tests (#68663) 2020-04-07 09:17:44 -05:00
testing_units_modules.rst
testing_validate-modules.rst starting metadata sunset (#69454) 2020-06-04 21:01:46 -04:00