From 64838bb52de0e596d7811b82636acd7057ffa709 Mon Sep 17 00:00:00 2001 From: Olaf Kilian Date: Fri, 20 Nov 2015 20:25:50 +0100 Subject: [PATCH] Set no_log for password argument --- lib/ansible/modules/extras/cloud/docker/docker_login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/cloud/docker/docker_login.py b/lib/ansible/modules/extras/cloud/docker/docker_login.py index c00dc3f900..4fc4decbe6 100644 --- a/lib/ansible/modules/extras/cloud/docker/docker_login.py +++ b/lib/ansible/modules/extras/cloud/docker/docker_login.py @@ -220,7 +220,7 @@ def main(): argument_spec = dict( registry = dict(required=False, default='https://index.docker.io/v1/'), username = dict(required=True), - password = dict(required=True), + password = dict(required=True, no_log=True), email = dict(required=False, default=None), reauth = dict(required=False, default=False, type='bool'), dockercfg_path = dict(required=False, default='~/.docker/config.json'),