From: Frank Brehm Date: Mon, 6 Sep 2021 14:53:13 +0000 (+0200) Subject: Extendig debug output. X-Git-Tag: 1.5.2^2~21 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=4360d811ed169df496729ab867e27c682163a900;p=pixelpark%2Fcreate-terraform.git Extendig debug output. --- diff --git a/lib/cr_tf/terraform/vm.py b/lib/cr_tf/terraform/vm.py index bc7ca7c..1c8219d 100644 --- a/lib/cr_tf/terraform/vm.py +++ b/lib/cr_tf/terraform/vm.py @@ -380,10 +380,10 @@ class TerraformVm(HandlingObject): return True if key.lower() == 'vsphere' and value: - if verbose > 1: + if verbose > 2: LOG.debug(_("Applying vSphere {!r} to VM.").format(value)) vm.vsphere = value - return + return True if key.lower() == 'cluster': vm.cluster = value