csmart / ansible-role-virt-infra

Define and manage guests and networks on a KVM host with Ansible
GNU General Public License v3.0
67 stars 48 forks source link

undefine fails when VM has nvram #54

Open csmart opened 2 years ago

csmart commented 2 years ago

VMs that have nvram defined (outside of this role, for example sushy tools) fail to be undefined. Simply add another check to remove nvram for any VM before undefine to fix this.