mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-11 03:10:59 +00:00
Support ansible-test --truncate with delegation.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user