diff options
author | Matt Clay <matt@mystile.com> | 2019-09-16 22:40:58 -0700 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2019-09-17 08:09:17 -0700 |
commit | 0631e057e9124af1d1676def456d49c6e0c16404 (patch) | |
tree | d9bba5b1b24171b51505126ed19f2678bf28e08e /test/lib/ansible_test/_internal/cli.py | |
parent | 84d9b3e58986d70ca64539e816e342a9d7d0b888 (diff) | |
download | ansible-0631e057e9124af1d1676def456d49c6e0c16404.tar.gz |
Redact sensitive values by default in ansible-test
Diffstat (limited to 'test/lib/ansible_test/_internal/cli.py')
-rw-r--r-- | test/lib/ansible_test/_internal/cli.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lib/ansible_test/_internal/cli.py b/test/lib/ansible_test/_internal/cli.py index 6b2dd72b17..1d7deedfbd 100644 --- a/test/lib/ansible_test/_internal/cli.py +++ b/test/lib/ansible_test/_internal/cli.py @@ -206,8 +206,15 @@ def parse_args(): common.add_argument('--redact', dest='redact', action='store_true', + default=True, help='redact sensitive values in output') + common.add_argument('--no-redact', + dest='redact', + action='store_false', + default=False, + help='show sensitive values in output') + common.add_argument('--check-python', choices=SUPPORTED_PYTHON_VERSIONS, help=argparse.SUPPRESS) |