From 9be3e67e21bff760132db7eb8b16ca9ed9ba31d6 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 13 Oct 2016 22:46:24 +0200 Subject: [PATCH] Make sure that the token is not printed in log (#3115) --- lib/ansible/modules/extras/source_control/github_key.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/source_control/github_key.py b/lib/ansible/modules/extras/source_control/github_key.py index 815be9dc94b..9e2e2e9bd9b 100644 --- a/lib/ansible/modules/extras/source_control/github_key.py +++ b/lib/ansible/modules/extras/source_control/github_key.py @@ -199,7 +199,7 @@ def ensure_key_present(session, name, pubkey, force, check_mode): def main(): argument_spec = { - 'token': {'required': True}, + 'token': {'required': True, 'no_log': True}, 'name': {'required': True}, 'pubkey': {}, 'state': {'choices': ['present', 'absent'], 'default': 'present'},