diff --git a/tasks/proxmox.yml b/tasks/proxmox.yml index 00c675a..f36efda 100644 --- a/tasks/proxmox.yml +++ b/tasks/proxmox.yml @@ -61,6 +61,10 @@ memory: "{{ create_vm_proxmox_memory_mb | default(omit) }}" update: true delegate_to: localhost + when: + - create_vm_proxmox_numb_cpus is defined or + create_vm_proxmox_numb_cores is defined or + create_vm_proxmox_memory_mb is defined - name: Proxmox - Manage virtual disks for virtual machine community.general.proxmox_disk: