Default module search path is included already
Adding it to runner's module_path makes it override local modules.
This commit is contained in:
parent
35b58955d6
commit
a16ddb57c1
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ def base_parser(constants=C, usage="", output_opts=False, runas_opts=False,
|
|||
help='ask for sudo password')
|
||||
parser.add_option('-M', '--module-path', dest='module_path',
|
||||
help="specify path(s) to module library (default=%s)" % constants.DEFAULT_MODULE_PATH,
|
||||
default=constants.DEFAULT_MODULE_PATH)
|
||||
default=None)
|
||||
|
||||
if subset_opts:
|
||||
parser.add_option('-l', '--limit', default=constants.DEFAULT_SUBSET, dest='subset',
|
||||
|
|
Loading…
Reference in a new issue