From 13148f3e69fd38a6ebe0fa6576b957df525dfb76 Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 30 Oct 2022 23:58:47 +1300 Subject: [PATCH] libvirt module sytax --- ansible/roles/vm_destroy/tasks/destroy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/vm_destroy/tasks/destroy.yaml b/ansible/roles/vm_destroy/tasks/destroy.yaml index 26538b2..174e590 100644 --- a/ansible/roles/vm_destroy/tasks/destroy.yaml +++ b/ansible/roles/vm_destroy/tasks/destroy.yaml @@ -33,7 +33,7 @@ - name: undefine the vm community.libvirt.virt: - state: undefine + command: undefine name: "{{ vm_name }}" - name: delete the firmware vars file