ansible/examples/scripts
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
..
ConfigureRemotingForAnsible.ps1 many pslint fixes (#55862) 2019-07-09 05:41:58 +10:00
upgrade_to_ps3.ps1 many pslint fixes (#55862) 2019-07-09 05:41:58 +10:00
uptime.py Fix the internal Python API usage examples 2020-07-03 10:44:54 +02:00