ansible/examples
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
..
scripts Fix the internal Python API usage examples (#70841) 2020-07-23 10:10:42 -07:00
ansible.cfg Change example ControlPath to be short and unique (#69347) 2020-05-07 14:52:42 -05:00
DOCUMENTATION.yml
hosts add punctuation marks to comments (#68882) 2020-05-06 13:14:06 -04:00
hosts.yaml
hosts.yml
inventory_script_schema.json
play.yml comment heavy playbook (#68981) 2020-05-19 17:27:08 -04:00
plugin_filters.yml