mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-07-29 19:04:35 +00:00
kubevirt_vm: Allow to specify DataVolume templates
By allowing to specify DataVolume templates VMs with persistent storage can be created using the kubevirt_vm module. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
8
examples/play-delete-dv.yml
Normal file
8
examples/play-delete-dv.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
- hosts: localhost
|
||||
tasks:
|
||||
- name: Delete VM
|
||||
kubernetes.kubevirt.kubevirt_vm:
|
||||
name: testvm-with-dv
|
||||
namespace: default
|
||||
state: absent
|
||||
wait: yes
|
||||
Reference in New Issue
Block a user