mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-14 21:01:13 +00:00
Fix ansible-test --redact option with delegation.
This commit is contained in:
@@ -367,6 +367,7 @@ def filter_options(args, argv, options, exclude, require):
|
||||
|
||||
options['--requirements'] = 0
|
||||
options['--truncate'] = 1
|
||||
options['--redact'] = 0
|
||||
|
||||
if isinstance(args, TestConfig):
|
||||
options.update({
|
||||
@@ -418,3 +419,6 @@ def filter_options(args, argv, options, exclude, require):
|
||||
|
||||
yield '--truncate'
|
||||
yield '%d' % args.truncate
|
||||
|
||||
if args.redact:
|
||||
yield '--redact'
|
||||
|
||||
Reference in New Issue
Block a user