ansible/docs/docsite/rst/dev_guide
Sviatoslav Sydorenko 8d97c8c222 Fix the internal Python API usage examples
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.
2020-07-03 10:44:54 +02:00
..
platforms Fix broken link in AWS Guide (#70153) 2020-06-19 14:18:55 -05:00
shared_snippets Clarify that GPLv3+ module_utils need core team approval (#56740) 2019-05-21 15:15:55 -05:00
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 2020-07-03 10:44:54 +02:00
developing_collections.rst Add steps for how to create changelog.rst for a collection (#70262) 2020-06-29 14:22:31 -05:00
developing_core.rst removes last :doc: links in the dev guide (#58417) 2019-06-26 14:59:33 -04:00
developing_inventory.rst Fix cache example (#64600) 2019-11-08 16:16:45 -05:00
developing_locally.rst Suggest ansible ad-hoc command while developing module (#70308) 2020-07-02 17:23:37 -05:00
developing_module_utilities.rst fixed some broken links (#66182) 2020-01-06 10:24:07 -06:00
developing_modules.rst rewrite of the developer guide, part 1 (#45179) 2018-09-07 08:57:36 -05:00
developing_modules_best_practices.rst Update developing_modules_best_practices.rst (#69937) 2020-06-08 13:28:17 +05:30
developing_modules_checklist.rst This was changed to python 2.7 but should have remained python 2.6 (#66836) 2020-01-28 09:32:03 -06:00
developing_modules_documenting.rst document FQCN for M() and :seealso: in DOCUMENTATION blocks (#70245) 2020-06-29 11:16:59 -05:00
developing_modules_general.rst starting metadata sunset (#69454) 2020-06-04 21:01:46 -04: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 Deprecation revisited (#69926) 2020-06-09 15:21:19 -07:00
developing_modules_in_groups.rst This was changed to python 2.7 but should have remained python 2.6 (#66836) 2020-01-28 09:32:03 -06: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 Update developing_python_3.rst (#66249) 2020-01-13 15:40:37 -05:00
developing_rebasing.rst Update developing_rebasing.rst (#51650) 2019-02-08 13:29:39 -06:00
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 Docs: edits & expands module_utils & search path info in dev guide (#55931) 2019-05-01 07:52:34 -05:00
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 dev_guide: Correct path to ansible-test requirements files (#66626) 2020-01-21 10:16:48 -05:00
testing_httptester.rst removes last :doc: links in the dev guide (#58417) 2019-06-26 14:59:33 -04:00
testing_integration.rst How to contribute to Ansible maintained collections (#69202) 2020-06-15 15:38:42 -05:00
testing_integration_legacy.rst restores legacy testing file (#46095) 2018-09-25 08:52:47 -04:00
testing_pep8.rst Remove obsolete docs on pep8 sanity test. 2019-08-01 22:34:09 -07:00
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 fixes import paths for ansible unit testing (#65775) 2019-12-16 11:07:26 -06:00
testing_validate-modules.rst starting metadata sunset (#69454) 2020-06-04 21:01:46 -04:00