REVERT AFTER DEBUG! Force recreating VMs
This commit is contained in:
@@ -41,6 +41,12 @@
|
||||
args:
|
||||
creates: "{{ vm_images_dir }}/{{ vm_name }}.qcow2"
|
||||
|
||||
- name: Remove existing VM definition
|
||||
shell: |
|
||||
virsh destroy {{ vm_name }} || true
|
||||
virsh undefine {{ vm_name }} || true
|
||||
become: yes
|
||||
|
||||
- name: Provision VM using virt-install
|
||||
shell: |
|
||||
virt-install \
|
||||
|
||||
Reference in New Issue
Block a user