Skip to content

Commit 423a3fe

Browse files
authored
Merge pull request #425 from fabric-testbed/audit-libvirt
Audit libvirt
2 parents 4354536 + 5ae3fa1 commit 423a3fe

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tools/audit.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,9 @@ def clean_sliver_inconsistencies(self):
441441
for instance in virsh_vms:
442442
if instance not in os_vms:
443443
results_4 = self.execute_ansible(inventory_path=inventory_location,
444-
playbook_path=vm_playbook_path,
445-
extra_vars={"operation": "delete", "host": str(host)},
444+
playbook_path=f"{pb_dir}/worker_libvirt_operations.yml",
445+
extra_vars={"operation": "delete", "host": str(host),
446+
"kvmguest_name": instance},
446447
ansible_python_interpreter=ansible_python_interpreter)
447448
self.logger.info(f"Deleted instance: {instance}; result: {results_4.get_json_result_ok()}")
448449
except Exception as e:

0 commit comments

Comments
 (0)