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

This commit is contained in:
Michael Scherer 2016-10-13 22:46:24 +02:00 committed by Matt Clay
parent 138aaa4ff3
commit 9be3e67e21

View file

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