mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07: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:
parent
88aa0b7645
commit
2165bac212
4 changed files with 21 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue