From d4c5360380e8c8236b60445e531cc2b2040ddaf2 Mon Sep 17 00:00:00 2001 From: Barnaby Court Date: Tue, 22 Dec 2015 22:26:51 -0500 Subject: [PATCH] add no_log to the password parameter --- packaging/os/redhat_subscription.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/os/redhat_subscription.py b/packaging/os/redhat_subscription.py index 2e6887164cf..19f2ce7cf37 100644 --- a/packaging/os/redhat_subscription.py +++ b/packaging/os/redhat_subscription.py @@ -388,7 +388,7 @@ def main(): argument_spec = dict( state = dict(default='present', choices=['present', 'absent']), username = dict(default=None, required=False), - password = dict(default=None, required=False), + password = dict(default=None, required=False, no_log=True), server_hostname = dict(default=rhn.config.get_option('server.hostname'), required=False), server_insecure = dict(default=rhn.config.get_option('server.insecure'), required=False), rhsm_baseurl = dict(default=rhn.config.get_option('rhsm.baseurl'), required=False),