Make sure that the token is not printed in log (#3115)

pull/4420/head
Michael Scherer 2016-10-13 22:46:24 +02:00 committed by Matt Clay
parent 138aaa4ff3
commit 9be3e67e21
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ def ensure_key_present(session, name, pubkey, force, check_mode):
def main(): def main():
argument_spec = { argument_spec = {
'token': {'required': True}, 'token': {'required': True, 'no_log': True},
'name': {'required': True}, 'name': {'required': True},
'pubkey': {}, 'pubkey': {},
'state': {'choices': ['present', 'absent'], 'default': 'present'}, 'state': {'choices': ['present', 'absent'], 'default': 'present'},