Skip to content

Commit 5ae3fa1

Browse files
committed
pass kvm guest name
1 parent b30a991 commit 5ae3fa1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/audit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,8 @@ def clean_sliver_inconsistencies(self):
442442
if instance not in os_vms:
443443
results_4 = self.execute_ansible(inventory_path=inventory_location,
444444
playbook_path=f"{pb_dir}/worker_libvirt_operations.yml",
445-
extra_vars={"operation": "delete", "host": str(host)},
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)