From e3c665c45385efaf4cf9a13a7a8691139dc9eba0 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 6 Sep 2021 17:01:10 +0200 Subject: [PATCH] Extendig debug output. --- lib/cr_tf/handler.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/cr_tf/handler.py b/lib/cr_tf/handler.py index 551b04a..cfbb245 100644 --- a/lib/cr_tf/handler.py +++ b/lib/cr_tf/handler.py @@ -67,7 +67,7 @@ from .terraform.disk import TerraformDisk from .xlate import XLATOR -__version__ = '3.5.4' +__version__ = '3.5.5' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -751,6 +751,10 @@ class CreateTerraformHandler(BaseHandler): # -------------------------------------------------------------------------· def _init_vspheres(self): + if self.verbose > 1: + msg = _("Found vSphere configurations:") + '\n' + pp(self.config.vsphere) + LOG.debug(msg) + for vm in self.vms: if vm.vsphere in self.vsphere: continue -- 2.39.5