From bdab9a86d5df64198b49bd5f371865ea4307623e Mon Sep 17 00:00:00 2001 From: Rene Moser Date: Tue, 26 May 2015 13:53:28 +0200 Subject: [PATCH] proxmox: prevent to log passwords --- lib/ansible/modules/extras/cloud/misc/proxmox.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/misc/proxmox.py b/lib/ansible/modules/extras/cloud/misc/proxmox.py index 74c49afef9..7978fca53a 100644 --- a/lib/ansible/modules/extras/cloud/misc/proxmox.py +++ b/lib/ansible/modules/extras/cloud/misc/proxmox.py @@ -244,11 +244,11 @@ def main(): argument_spec = dict( api_host = dict(required=True), api_user = dict(required=True), - api_password = dict(), + api_password = dict(no_log=True), vmid = dict(required=True), https_verify_ssl = dict(type='bool', choices=BOOLEANS, default='no'), node = dict(), - password = dict(), + password = dict(no_log=True), hostname = dict(), ostemplate = dict(), disk = dict(type='int', default=3),