1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix ansible-test --redact option with delegation.

This commit is contained in:
Matt Clay 2018-02-19 16:42:37 -08:00
parent 80d19e6af3
commit 78e900cd7f

View file

@ -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'