diff --git a/library/openshift_provision.py b/library/openshift_provision.py index fd2e27a..3f5c663 100644 --- a/library/openshift_provision.py +++ b/library/openshift_provision.py @@ -1094,6 +1094,9 @@ def __init__(self, module): self.oc_cmd += ['--insecure-skip-tls-verify'] elif connection['insecure_skip_tls_verify']: self.oc_cmd += ['--insecure-skip-tls-verify='+connection['insecure_skip_tls_verify']] + for arg in self.oc_cmd: + if arg.startswith('--token='): + module.no_log_values.add(arg[8:]) def run_oc(self, args, **kwargs): if self.module._verbosity < 3: