Set no_log for password argument

This commit is contained in:
Olaf Kilian 2015-11-20 20:25:50 +01:00 committed by Matt Clay
parent 7c8d1a1d0a
commit 64838bb52d

View file

@ -220,7 +220,7 @@ def main():
argument_spec = dict( argument_spec = dict(
registry = dict(required=False, default='https://index.docker.io/v1/'), registry = dict(required=False, default='https://index.docker.io/v1/'),
username = dict(required=True), username = dict(required=True),
password = dict(required=True), password = dict(required=True, no_log=True),
email = dict(required=False, default=None), email = dict(required=False, default=None),
reauth = dict(required=False, default=False, type='bool'), reauth = dict(required=False, default=False, type='bool'),
dockercfg_path = dict(required=False, default='~/.docker/config.json'), dockercfg_path = dict(required=False, default='~/.docker/config.json'),