ansible-test: vcenter+Worldstream: hide password

Hide the temporary password when `ansible-test` is called with the
`--redact` parameter.
pull/61717/head
Gonéri Le Bouder 5 years ago
parent 7dbd6116d8
commit 8e22a60f97

@ -195,6 +195,9 @@ class VcenterProvider(CloudProvider):
aci.wait(iterations=160)
data = aci.get().response_json.get('data')
for key, value in data.items():
if key.endswith('PASSWORD'):
display.sensitive.add(value)
config = self._populate_config_template(config, data)
self._write_config(config)

Loading…
Cancel
Save