mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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