mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
module and vault fixes (#29663)
* module and vault fixes - fix module_path cli option and usage, which fixes #29653 - move --output to be in subset of vault cli, no need for all vault enabled cli to use it - added debug to loader to see directories added
This commit is contained in:
@@ -84,9 +84,9 @@ class TaskQueueManager:
|
||||
self._start_at_done = False
|
||||
|
||||
# make sure any module paths (if specified) are added to the module_loader
|
||||
if isinstance(options.module_path, list):
|
||||
if options.module_path:
|
||||
for path in options.module_path:
|
||||
if path is not None:
|
||||
if path:
|
||||
module_loader.add_directory(path)
|
||||
|
||||
# a special flag to help us exit cleanly
|
||||
|
||||
Reference in New Issue
Block a user