mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-03-26 19:03:16 +00:00
By allowing to specify the template spec unnecessary abstraction is avoided. The following module args are replaced by the 'spec' arg: - termination_grace_period - interfaces - networks - volumes Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
9 lines
180 B
YAML
9 lines
180 B
YAML
- hosts: localhost
|
|
tasks:
|
|
- name: Create VM
|
|
kubernetes.kubevirt.kubevirt_vm:
|
|
state: present
|
|
name: testvm
|
|
namespace: default
|
|
running: no
|