]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Extendig debug output.
authorFrank Brehm <frank.brehm@pixelpark.com>
Mon, 6 Sep 2021 15:01:10 +0000 (17:01 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Mon, 6 Sep 2021 15:01:10 +0000 (17:01 +0200)
lib/cr_tf/handler.py

index 551b04a725c5f9fee8ccd0090bf8665b39f0cddc..cfbb2451774681ed077a6e8ade6aed9127920737 100644 (file)
@@ -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