You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/examples/scripts
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)
4 years ago
..
ConfigureRemotingForAnsible.ps1 many pslint fixes (#55862) 5 years ago
upgrade_to_ps3.ps1 many pslint fixes (#55862) 5 years ago
uptime.py Fix the internal Python API usage examples (#70841) 4 years ago