Support ansible-test --truncate with delegation.

pull/36383/merge
Matt Clay 7 years ago
parent 4a5809f111
commit 5bc9bb9fbb

@ -366,6 +366,7 @@ def filter_options(args, argv, options, exclude, require):
options = options.copy()
options['--requirements'] = 0
options['--truncate'] = 1
if isinstance(args, TestConfig):
options.update({
@ -414,3 +415,6 @@ def filter_options(args, argv, options, exclude, require):
if args.metadata_path:
yield '--metadata'
yield args.metadata_path
yield '--truncate'
yield '%d' % args.truncate

Loading…
Cancel
Save