Support ansible-test --truncate with delegation.
This commit is contained in:
parent
4a5809f111
commit
5bc9bb9fbb
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue