ansible/examples
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
..
scripts Fix the internal Python API usage examples 2020-07-03 10:44:54 +02:00
ansible.cfg Change example ControlPath to be short and unique (#69347) 2020-05-07 14:52:42 -05:00
DOCUMENTATION.yml Fix some broken links (#42079) 2018-06-29 11:12:01 -07:00
hosts add punctuation marks to comments (#68882) 2020-05-06 13:14:06 -04:00
hosts.yaml Clearer examples of hosts.yml inventory (#57999) 2019-06-18 15:58:28 -05:00
hosts.yml
inventory_script_schema.json draft schema for inventory scripts (#39454) 2018-05-24 23:38:16 -04:00
play.yml comment heavy playbook (#68981) 2020-05-19 17:27:08 -04:00
plugin_filters.yml Implement plugin filtering 2018-01-22 16:54:53 -08:00