diff options
author | Michael Gugino <mgugino@redhat.com> | 2017-11-28 22:31:24 -0500 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2017-11-28 22:49:49 -0500 |
commit | 3cdcb76f55c6c47eb66c3e3ddbf973cfc1fc1b85 (patch) | |
tree | 8157eae1e03682ff016149837e0999e6ef908f51 /roles/lib_openshift/src | |
parent | bc77099615299390638a69adcf96c0a67c5e5275 (diff) | |
download | openshift-3cdcb76f55c6c47eb66c3e3ddbf973cfc1fc1b85.tar.gz openshift-3cdcb76f55c6c47eb66c3e3ddbf973cfc1fc1b85.tar.bz2 openshift-3cdcb76f55c6c47eb66c3e3ddbf973cfc1fc1b85.tar.xz openshift-3cdcb76f55c6c47eb66c3e3ddbf973cfc1fc1b85.zip |
Fix no_log warnings for custom module
We need to set no_log for password and private_key
variables.
Diffstat (limited to 'roles/lib_openshift/src')
-rw-r--r-- | roles/lib_openshift/src/ansible/oc_adm_router.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/lib_openshift/src/ansible/oc_adm_router.py b/roles/lib_openshift/src/ansible/oc_adm_router.py index c6563cc2f..52499b273 100644 --- a/roles/lib_openshift/src/ansible/oc_adm_router.py +++ b/roles/lib_openshift/src/ansible/oc_adm_router.py @@ -34,14 +34,14 @@ def main(): external_host_insecure=dict(default=False, type='bool'), external_host_partition_path=dict(default=None, type='str'), external_host_username=dict(default=None, type='str'), - external_host_password=dict(default=None, type='str'), - external_host_private_key=dict(default=None, type='str'), + external_host_password=dict(default=None, type='str', no_log=True), + external_host_private_key=dict(default=None, type='str', no_log=True), # Metrics expose_metrics=dict(default=False, type='bool'), metrics_image=dict(default=None, type='str'), # Stats stats_user=dict(default=None, type='str'), - stats_password=dict(default=None, type='str'), + stats_password=dict(default=None, type='str', no_log=True), stats_port=dict(default=1936, type='int'), # extra cacert_file=dict(default=None, type='str'), |