Default module search path is included already

Adding it to runner's module_path makes it override local modules.
pull/1887/merge
Daniel Hokka Zakrisson 12 years ago
parent 35b58955d6
commit a16ddb57c1

@ -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…
Cancel
Save