From: Frank Brehm Date: Mon, 6 Sep 2021 15:01:10 +0000 (+0200) Subject: Extendig debug output. X-Git-Tag: 1.5.2^2~18 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e3c665c45385efaf4cf9a13a7a8691139dc9eba0;p=pixelpark%2Fcreate-terraform.git Extendig debug output. --- 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