From 24e8428a7b14462f31f38cd827f3208ac11abcd4 Mon Sep 17 00:00:00 2001 From: Davis Phillips Date: Tue, 15 Nov 2016 15:02:36 -0600 Subject: [PATCH] mend --- lib/ansible/modules/extras/cloud/vmware/vmware_guest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/vmware/vmware_guest.py b/lib/ansible/modules/extras/cloud/vmware/vmware_guest.py index 9d6b3b7777..2b38321dec 100644 --- a/lib/ansible/modules/extras/cloud/vmware/vmware_guest.py +++ b/lib/ansible/modules/extras/cloud/vmware/vmware_guest.py @@ -805,7 +805,7 @@ class PyVmomiHelper(object): for ip_string in self.params['ips']: ip = IPAddress(self.params['ips']) for network in self.params['networks']: - if network: + if network: if ip in IPNetwork(network): self.params['networks'][network]['ip'] = str(ip) ipnet = IPNetwork(network) @@ -922,7 +922,7 @@ class PyVmomiHelper(object): annotation_spec = vim.vm.ConfigSpec() annotation_spec.annotation = str(self.params['annotation']) task = vm.ReconfigVM_Task(annotation_spec) - self.wait_for_task(task) + self.wait_for_task(task) if wait_for_ip: self.set_powerstate(vm, 'poweredon', force=False) self.wait_for_vm_ip(vm)